Executive brief
A vulnerability in the Linux kernel's networking subsystem could allow a local user to cause a system crash. The issue exists in the Netfilter component, which handles network traffic filtering and connection tracking. While the primary impact is a denial of service (system instability), the flaw also inadvertently leaks internal memory address information to userspace.
Technical details
A vulnerability in the Netfilter ctnetlink component of the Linux kernel arises from a missing call to the nf_expect_get_id() helper function within the delete expectation path. This omission causes the least significant bits (LSB) of an internal kernel expectation object address to be leaked to userspace. An attacker with local access can exploit this flaw to trigger a denial of service (system crash) or potentially bypass security protections like KASLR by utilizing the leaked memory address information. The issue has been resolved across multiple stable kernel branches by ensuring the correct helper function is used to calculate and validate expectation IDs.
Affected products
- Linux Linux Kernel 4.19.320, 5.1, 5.2 to 5.4.282, 5.5 to 5.10.224, 5.11 to 5.15.165, 5.16 to 6.1.103, 6.2 to 6.6.44, 6.7 to 6.10.3
Timeline
- 2024-08-30: disclosed
- 2024-08-30: advisory
- 2024-08-03: patched: Initial patches applied to stable trees.
References
- https://git.kernel.org/stable/c/24f407042cf90b0872de667460230d8d50c06c39
- https://git.kernel.org/stable/c/27662b46f2adaa52c1665a82af4b21c42c4337fd
- https://git.kernel.org/stable/c/5e2c24f7b0911b15c29aefce760bcf770542fb61
- https://git.kernel.org/stable/c/64c0b8e64be8368617ef08dfc59a3160563a1435
- https://git.kernel.org/stable/c/66e7650dbbb8e236e781c670b167edc81e771450
- https://git.kernel.org/stable/c/74de442b8e12a207c07953ee068009a7701aff8f
- https://git.kernel.org/stable/c/782161895eb4ac45cf7cfa8db375bd4766cb8299