7
CVSSv3

CVE-2024-50036

CVSSv4: NA | CVSSv3: 7 | CVSSv2: NA | VMScore: 800 | EPSS: 0.00037 | KEV: Not Included
Published: 21/10/2024 Updated: 17/11/2024

Vulnerability Summary

Race Condition Patch in Linux Kernel's Network Subsystem

The Linux kernel had a vulnerability which is now fixed. It was related to net: do not delay dst_entries_add() in dst_release(). The problem occurred because dst_entries_add() used per-cpu data, which might be freed during network namespace dismantle from ip6_route_net_exit() calling dst_entries_destroy(). Before ip6_route_net_exit() runs, all dsts linked to the netns are released by calling dst_release(). This waits for an RCU grace period before executing dst_destroy(). The usage of dst_entries_add() in dst_destroy() was problematic because dst_entries_destroy() might have been called already. Decrementing the number of dsts needed to happen earlier. Some points to note are: 1) In the CONFIG_XFRM case, dst_destroy() can call dst_release_immediate(child). This can also potentially cause use-after-free if the child doesn’t have DST_NOCOUNT set. IPSEC maintainers could examine this for solutions. 2) There is a conversation about possibly removing this dst count, which could occur in future kernel versions.

Vulnerable Product Search on Vulmon Subscribe to Product

linux linux

linux linux kernel

linux linux kernel 6.12

Vendor Advisories

In the Linux kernel, the following vulnerability has been resolved: io_uring: fix possible deadlock in io_register_iowq_max_workers() (CVE-2024-41080) In the Linux kernel, the following vulnerability has been resolved: ext4: fix timer use-after-free on failed mount (CVE-2024-49960) In the Linux kernel, the following vulnerability has been resolved: ...
In the Linux kernel, the following vulnerability has been resolved: net: do not delay dst_entries_add() in dst_release() (CVE-2024-50036) In the Linux kernel, the following vulnerability has been resolved: net: sched: fix use-after-free in taprio_change() (CVE-2024-50127) In the Linux kernel, the following vulnerability has been resolved: tracing: ...
In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Fix use-after-free of encap entry in neigh update handler (CVE-2021-47247) In the Linux kernel, the following vulnerability has been resolved: scsi: iscsi_tcp: Fix UAF during logout when accessing the shost ipaddress (CVE-2023-52975) In the Linux kernel, the following vu ...
In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix potential oob read in nilfs_btree_check_delete() (CVE-2024-47757) In the Linux kernel, the following vulnerability has been resolved: ext4: fix double brelse() the buffer of the extents path (CVE-2024-49882) In the Linux kernel, the following vulnerability has been reso ...
In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix potential oob read in nilfs_btree_check_delete() (CVE-2024-47757) In the Linux kernel, the following vulnerability has been resolved: ext4: fix double brelse() the buffer of the extents path (CVE-2024-49882) In the Linux kernel, the following vulnerability has been reso ...
In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix potential oob read in nilfs_btree_check_delete() (CVE-2024-47757) In the Linux kernel, the following vulnerability has been resolved: ext4: fix double brelse() the buffer of the extents path (CVE-2024-49882) In the Linux kernel, the following vulnerability has been reso ...
In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix potential oob read in nilfs_btree_check_delete() (CVE-2024-47757) In the Linux kernel, the following vulnerability has been resolved: ext4: fix double brelse() the buffer of the extents path (CVE-2024-49882) In the Linux kernel, the following vulnerability has been reso ...
In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix potential oob read in nilfs_btree_check_delete() (CVE-2024-47757) In the Linux kernel, the following vulnerability has been resolved: ext4: fix double brelse() the buffer of the extents path (CVE-2024-49882) In the Linux kernel, the following vulnerability has been reso ...