Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-42271

7.8 · HIGH
Published Aug 17, 2024 linux CWE-416 EPSS 0.24% (14th pctl)

Overview

CVE-2024-42271 is a high-severity vulnerability affecting linux linux_kernel. It was published on August 17, 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:

net/iucv: fix use after free in iucv_sock_close()

iucv_sever_path() is called from process context and from bh context.

iucv->path is used as indicator whether somebody else is taking care of

severing the path (or it is already removed / never existed).

This needs to be done with atomic compare and swap, otherwise there is a

small window where iucv_sock_close() will try to work with a path that has

already been severed and freed by iucv_callback_connrej() called by

iucv_tasklet_fn().

Example:

[452744.123844] Call Trace:

[452744.123845] ([<0000001e87f03880>] 0x1e87f03880)

[452744.123966] [<00000000d593001e>] iucv_path_sever+0x96/0x138

[452744.124330] [<000003ff801ddbca>] iucv_sever_path+0xc2/0xd0 [af_iucv]

[452744.124336] [<000003ff801e01b6>] iucv_sock_close+0xa6/0x310 [af_iucv]

[452744.124341] [<000003ff801e08cc>] iucv_sock_release+0x3c/0xd0 [af_iucv]

[452744.124345] [<00000000d574794e>] __sock_release+0x5e/0xe

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 3.4, < 4.19.320 Affected

Frequently Asked Questions

What is CVE-2024-42271?

CVE-2024-42271 is a high-severity vulnerability affecting linux linux_kernel. It was published on August 17, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-42271?

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-42271?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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-42271?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-42271 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.