In the Linux kernel, the following vulnerability has been resolved:
ipv4: validate checksumstart before completing checksum
If a packet with bad checksum metadata gets into the ipv4 stack, skbchecksumhelp can corrupt the network header and cause a bunch of mischief.
This was discovered and reported by Paulos, and has been reporoduced by others independently since.
We really shouldn't allow such packets in, but as a defence in depth measure, let's also check before we complete the checksum.
A more complete validation at input is forthcoming, but needs more work.
exec: Cleanup POSIX timers right after dethread()
In the Linux kernel, the following vulnerability has been resolved:
sctp: clear control chunk transport if it is being removed
sctpmakeheartbeatack() caches the destination transport in chunk->transport without taking a reference. When srcoutofasocok is enabled, the HEARTBEAT ACK may remain queued on controlchunklist instead of being transmitted immediately.
If the peer transport is removed while the chunk is still queued, sctpassocrmpeer() drops the transport and schedules it for RCU freeing, but only clears cached transport pointers in outchunklist. The queued control chunk therefore retains a dangling transport pointer.
Once an ASCONFACK clears the suppression and the queued control chunk is transmitted, SCTP dereferences the stale transport pointer, leading to a use-after-free.
Fix this by also clearing chunk->transport for queued control chunks in controlchunklist when removing the transport.