7.1
CVSSv3

CVE-2024-50301

CVSSv4: NA | CVSSv3: 7.1 | CVSSv2: NA | VMScore: 810 | EPSS: 0.00046 | KEV: Not Included
Published: 19/11/2024 Updated: 21/11/2024

Vulnerability Summary

Linux Kernel Fix: Security Keys Slab Out-of-Bounds Vulnerability

A vulnerability in the Linux kernel was fixed. It was in the security/keys section and involved out-of-bounds reading. This problem was found by KASAN. The bug appeared in key_task_permission. It involved reading four bytes of data in a specific task. The issue could be repeated by getting more than 32 inputs with similar hash patterns ending in '0xxxxxxxe6', rebooting, and adding those keys. The problem happened in a tree structure. When looking through the nodes, if the slot in a node was a meta pointer and the node was connected to the root, it would move to another node. If it was the root and a slot pointed to a shortcut, it became a keyring. A function checked if the pointer was a keyring, but there was a confusion because of the matching values (KEYRING_PTR_SUBTYPE and ASSOC_ARRAY_PTR_SUBTYPE_MASK). With 32 similar keys, a node split incorrectly, leading to a tree structure where a slot pointed to a shortcut. This caused the out-of-bounds read. To fix it, the process should always enter descend_to_node if the pointer is a shortcut, even at the root.

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: 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 ...