Skip to content
RedCVE

CVE-2024-36971Android Kernel Remote Code Execution Vulnerability

ExploitedDebianLinuxPublished:

CVSS score

7.8

High

CVSS 3.1 from NVD

Exploit probability (EPSS)

2.70%

2.70% chance of exploitation in the next 30 days, higher than 86.3% of all CVEs.

CISA KEV

Actively exploited

Added to KEV on 7 Aug 2024.

US federal deadline to fix: 28 Aug 2024.

Official description

In the Linux kernel, the following vulnerability has been resolved: net: fix __dst_negative_advice() race __dst_negative_advice() does not enforce proper RCU rules when sk->dst_cache must be cleared, leading to possible UAF. RCU rules are that we must first clear sk->sk_dst_cache, then call dst_release(old_dst). Note that sk_dst_reset(sk) is implementing this protocol correctly, while __dst_negative_advice() uses the wrong order. Given that ip6_negative_advice() has special logic against RTF_CACHE, this means each of the three ->negative_advice() existing methods must perform the sk_dst_reset() themselves. Note the check against NULL dst is centralized in __dst_negative_advice(), there is no need to duplicate it in various callbacks. Many thanks to Clement Lecigne for tracking this issue. This old bug became visible after the blamed commit, using UDP sockets.

Source: NVD · CNA: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

How to fix it, step by step

  1. Treat it as urgent

    Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 7 Aug 2024.

    US federal agencies must fix it by 28 Aug 2024. It's a sensible deadline for everyone else too.

    CISA's full instruction
    Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
  2. Check whether you're affected

    Find every system running Debian Linux, Linux Kernel and compare its version with the affected versions.

  3. Update to a fixed version

    • Update Linux Kernel to 4.19.316, 5.4.278, 5.10.219, 5.15.161 or later, on the branch you run.
  4. Check for signs of compromise

    Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.

  5. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

Affected productsVersions
Debian Debian Linux10.0
Linux Linux Kernel≥ 4.6, < 4.19.316 · ≥ 4.20, < 5.4.278 · ≥ 5.5, < 5.10.219 · ≥ 5.11, < 5.15.161 · ≥ 5.16, < 6.1.94 · ≥ 6.2, < 6.6.34
Linux Linux≥ a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314, < 051c0bde9f0450a2ec3d62a86d2a0d2fad117f13 · ≥ a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314, < db0082825037794c5dba9959c9de13ca34cc5e72 · ≥ a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314, < 2295a7ef5c8c49241bff769e7826ef2582e532a6 · ≥ a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314, < eacb8b195579c174a6d3e12a9690b206eb7f28cf · ≥ a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314, < 81dd3c82a456b0015461754be7cb2693991421b4 · ≥ a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314, < 5af198c387128a9d2ddd620b0f0803564a4d4508

Weakness

Timeline

  1. Published:
  2. Added to CISA KEV:
  3. Last modified:

Frequently asked questions

Is CVE-2024-36971 being exploited?

Yes. CISA added CVE-2024-36971 to its Known Exploited Vulnerabilities catalog on 7 Aug 2024, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 2.7% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2024-36971?

CVE-2024-36971 has a CVSS 3.1 base score of 7.8 (high).

Which versions are affected?

Debian Debian Linux (10.0), Linux Linux Kernel (≥ 4.6, < 4.19.316; ≥ 4.20, < 5.4.278; ≥ 5.5, < 5.10.219; ≥ 5.11, < 5.15.161; ≥ 5.16, < 6.1.94; ≥ 6.2, < 6.6.34), Linux Linux (≥ a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314, < 051c0bde9f0450a2ec3d62a86d2a0d2fad117f13; ≥ a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314, < db0082825037794c5dba9959c9de13ca34cc5e72; ≥ a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314, < 2295a7ef5c8c49241bff769e7826ef2582e532a6; ≥ a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314, < eacb8b195579c174a6d3e12a9690b206eb7f28cf; ≥ a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314, < 81dd3c82a456b0015461754be7cb2693991421b4; ≥ a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314, < 5af198c387128a9d2ddd620b0f0803564a4d4508)

Is there a patch for CVE-2024-36971?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.