A vulnerability in the Linux kernel netfilter NAT implementation involves uninitialized stack memory in the nf_nat_range2 structure. Certain functions do not fully clear this structure before use, leaving the base_proto field with garbage data. This can lead to incorrect NAT port offset calculations when specific flags are set. The issue has been resolved by ensuring the entire structure is zeroed before use.
A vulnerability in the Linux kernel's IPv4 routing code was fixed by ensuring that the function rt_add_uncached_list() is called when do_cache is false in ip_route_input_slow(). Without this fix, certain routes were not properly added to the uncached list, causing issues when removing VRF devices and potentially leading to device removal hanging.
A vulnerability in the Linux kernel's netfilter SIP connection tracking module (nf_conntrack_sip) allows an out-of-bounds read in the ct_sip_parse_transport() function. This occurs because the function compares the "transport=" header parameter against "TCP"/"UDP" without verifying that the parameter is at least 3 bytes long, potentially reading beyond the buffer end. The issue was identified through LLM-assisted code review and confirmed with an AddressSanitizer userspace test harness.
A use-after-free vulnerability in the Linux kernel's IPv6 TCP request socket handling was resolved by deferring the freeing of ipv6_opt until after an RCU grace period. This flaw occurs when request socket migration clones a request socket sharing ipv6_opt, and the original socket's pointer is cleared while another CPU may still access it, leading to a use-after-free condition.
A vulnerability in the Linux kernel's nvmet-tcp component causes improper handling of TLS record types during data reception. The issue arises because the control buffer for receiving TLS record types is only set up once, leading to stale record type information on subsequent receives. This can cause the system to drop valid data or fail to report alerts correctly, potentially stalling the queue or causing I/O errors.
A vulnerability in the Linux kernel's netlink subsystem involves calling the unbind callback while the netlink table is locked. This occurs when netlink_bind() fails to insert a socket and calls netlink_undo_bind() with the table locked, leading to a potential deadlock scenario involving callback locks. An unprivileged user can trigger this condition by binding to a port ID already in use with nl_groups set. The issue is resolved by unlocking the table before calling the unbind callback, as recommended in the kernel source comments.
A vulnerability in the Linux kernel's IPv6 implementation involves improper validation of the Home Address option length before its address is used. This can lead to out-of-bounds memory writes or copying of unintended memory areas when certain IPv6 header manipulations occur. The issue arises because some code paths assume the presence and correctness of the Home Address option without revalidating it after header modifications by various tunneling or packet processing mechanisms.
A vulnerability in the Linux kernel's CALIPSO implementation causes a memory accounting leak for request socket options. This leak occurs because the listener socket is incorrectly charged for memory allocated to request sockets, leading to resource exhaustion once a system limit is reached. This results in failure to allocate memory for socket options, causing SYN packets to be dropped and reported memory leaks when the listener is destroyed.
A vulnerability in the Linux kernel's xsk_buff_add_frag() function can cause list corruption when user space posts the same buffer address twice in aligned mode. This leads to a kernel NULL pointer dereference and a potential crash. The issue does not affect unaligned mode and has been reproduced with a KUnit test.
A vulnerability in the Linux kernel's drm/xe/gt component was fixed by disabling the GT reset worker before engine teardown. The flaw allowed a reset queued from the Guc timeout handler to access hardware engine (hwe) resources after they were freed, potentially causing use-after-free conditions.
A vulnerability in the Linux kernel tracing/probes subsystem was resolved by bounding symbol string stores to their reserved length. The issue involved a mismatch between the reserved space for a symbol string and the actual string length stored, potentially causing overwrites of trace records.
A vulnerability in the Linux kernel's ice network driver involving improper handling of in-flight fragments on XDP_TX completion has been resolved. The issue occurs because the driver frees fragments still being received, leading to a NULL pointer dereference. This flaw could cause kernel crashes or instability when processing multi-buffer frames with XDP (eXpress Data Path).
A use-after-free vulnerability in the Linux kernel's network buffer (skbuff) handling was resolved by preserving the fclone lifetime when freeing stolen heads. The flaw involved improper handling of skb fragments with fclone tags during IPv4 reassembly and GRO stolen-head processing, which could lead to memory corruption detected by KASAN.
A vulnerability in the Linux kernel's ublk subsystem was fixed by ensuring that a new device is published by its ID only after it is fully set up. Previously, the device could be found by control commands before its character device was properly added, leading to potential use-after-free conditions if initialization failed and the device was removed concurrently.
A vulnerability in the Linux kernel's AMD Sound Open Firmware (SOF) driver was fixed by adding NULL pointer checks in the IRQ handler to prevent dereferencing a NULL pointer during a specific probe and teardown window. This issue could cause a kernel crash if an interrupt occurs before the SoundWire context is fully initialized or after it is freed but before the pointer is cleared.
A deadlock vulnerability in the Linux kernel's btrfs filesystem zoned code was resolved by changing do_zone_finish() to avoid waiting for ordered extents. The previous behavior could cause a deadlock when do_zone_finish() waited for writeback while holding a mutex that could be needed by other tasks also waiting for writeback. The fix removes the wait in do_zone_finish(), relying on callers to handle waiting appropriately, and returns -EAGAIN on races, which callers handle safely.
A use-after-free (UAF) vulnerability in the Linux kernel's btrfs zoned code was fixed in the wait_eb_writebacks() function. The issue arises because extent_buffers are freed via RCU, and the function waits for writeback without holding the RCU read lock, allowing a potential UAF if the buffer is freed during this wait. The fix involves acquiring a reference to the extent_buffer before waiting on writeback to prevent premature freeing.
A vulnerability in the Linux kernel's libeth component related to xsk (XDP socket) handling was resolved. The issue involves improper freeing of in-flight fragments on XDP_TX completion, which could lead to truncated frames being sent due to premature freeing of fragments still in use.
A vulnerability in the Linux kernel's i40e driver related to AF_XDP zero-copy multi-buffer frame handling has been fixed. The flaw involved incorrect copying of packet fragments when an XDP program returns XDP_PASS, leading to improper memory handling. The fix corrects the use of skb_frag_address() for copying and properly attaches fragments to the skb, ensuring correct metadata updates and resource management.
A vulnerability in the Linux kernel's drm/xe subsystem allows stale memory mappings to be used due to improper handling of buffer objects (BOs) evicted before the first LR execution queue is added. This occurs because the preempt fence, which should trigger validation and rebinding of BOs, is not activated in this scenario, potentially leading to the use of outdated mappings during execution.