Menu

Star on GitHub · 3.2k

CVE-2024-50301

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: security/keys: fix slab-out-of-bounds in key_task_permission KASAN reports an out of bounds read: BUG: KASAN: slab-out-of-bound…

Published Nov 19, 2024CWE-125EPSS 0.28%

Overview

CVE-2024-50301 is a high-severity vulnerability. It was published on November 19, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

security/keys: fix slab-out-of-bounds in key_task_permission

KASAN reports an out of bounds read:

BUG: KASAN: slab-out-of-bounds in __kuid_val include/linux/uidgid.h:36

BUG: KASAN: slab-out-of-bounds in uid_eq include/linux/uidgid.h:63 [inline]

BUG: KASAN: slab-out-of-bounds in key_task_permission+0x394/0x410

security/keys/permission.c:54

Read of size 4 at addr ffff88813c3ab618 by task stress-ng/4362

CPU: 2 PID: 4362 Comm: stress-ng Not tainted 5.10.0-14930-gafbffd6c3ede #15

Call Trace:

__dump_stack lib/dump_stack.c:82 [inline]

dump_stack+0x107/0x167 lib/dump_stack.c:123

print_address_description.constprop.0+0x19/0x170 mm/kasan/report.c:400

__kasan_report.cold+0x6c/0x84 mm/kasan/report.c:560

kasan_report+0x3a/0x50 mm/kasan/report.c:585

__kuid_val include/linux/uidgid.h:36 [inline]

uid_eq include/linux/uidgid.h:63 [inline]

key_task_permission+0x394/0x410 security/keys/permission.c:54

search_nested_keyrings+0

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-50301?

CVE-2024-50301 is a high-severity vulnerability. It was published on November 19, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-50301?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-50301?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-50301?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-50301 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all