Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2024-40958

22
FAUCET Score

CVE-2024-40958 is a use-after-free vulnerability in the Linux kernel's networking namespace (netns) component, specifically within the get_net_ns function. This flaw affects Linux kernel versions and can be triggered by a local attacker manipulating network namespaces. The vulnerability has a CVSS score of 7.8 (High), indicating a significant risk with potential for high impact on confidentiality, integrity, and availability. While no active exploitation, public exploit code, or significant community discussion has been observed, the vulnerability is classified as CWE-416 (Use-After-Free) and has a FAUCET Risk Score of 54/100.

Impacted Technologies

VendorProductVersion(s)CPE
>= 5.2, < 5.4.279CPE matchmatch criteria
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.5, < 5.10.221CPE matchmatch criteria
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.11, < 5.15.162CPE matchmatch criteria
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.16, < 6.1.96CPE matchmatch criteria
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.2, < 6.6.36CPE matchmatch criteria
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

7.8HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
1.8
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.27%
Probability of exploitation in next 30 days
EPSS Percentile
18.7%
Percentile rank of EPSS score among Peer Group
As of 2026-07-28
Model: v2026.06.15
This CVE's current EPSS score of 0.0027 is in the 54th percentile among its peer group of 17,070 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.2 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (4)

redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: kernel-rt-0:4.18.0-553.22.1.rt7.363.el8_10
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: kernel-0:4.18.0-553.22.1.el8_10
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 9Fixed in: kernel-0:5.14.0-427.31.1.el9_4
View patch
redhatno patchvia redhat_api
Product: Red Hat Enterprise Linux 9Fixed in: kernel-rt

Vendor Advisories (1)

redhatCVE-2024-40958Moderate

kernel: netns: Make get_net_ns() handle zero refcount net

Jul 12, 2024

References

cert-portal.siemens.com / productcert/html/ssa-265688.html
cert-portal.siemens.com / productcert/html/ssa-355557.html
cert-portal.siemens.com / productcert/html/ssa-613116.html
git.kernel.org / stable/c/1b631bffcb2c09551888f3c723f4365c91fe05ef
Patch
git.kernel.org / stable/c/2b82028a1f5ee3a8e04090776b10c534144ae77b
Patch
git.kernel.org / stable/c/3a6cd326ead7c8bb1f64486789a01974a9f1ad55
Patch
git.kernel.org / stable/c/3af28df0d883e8c89a29ac31bc65f9023485743b
Patch
git.kernel.org / stable/c/cb7f811f638a14590ff98f53c6dd1fb54627d940
Patch
git.kernel.org / stable/c/ef0394ca25953ea0eddcc82feae1f750451f1876
Patch
git.kernel.org / stable/c/ff960f9d3edbe08a736b5a224d91a305ccc946b0
Patch
lists.debian.org / debian-lts-announce/2025/01/msg00001.html