{
  "id": "CVE-2024-36971",
  "url": "https://poc.griffinguard.io/cve/CVE-2024-36971",
  "published_at": "2024-06-10T09:03:23.878Z",
  "title": "net: fix __dst_negative_advice() race",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2024-08-07",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 58
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: fix __dst_negative_advice() race\n\n__dst_negative_advice() does not enforce proper RCU rules when\nsk-\u003edst_cache must be cleared, leading to possible UAF.\n\nRCU rules are that we must first clear sk-\u003esk_dst_cache,\nthen call dst_release(old_dst).\n\nNote that sk_dst_reset(sk) is implementing this protocol correctly,\nwhile __dst_negative_advice() uses the wrong order.\n\nGiven that ip6_negative_advice() has special logic\nagainst RTF_CACHE, this means each of the three -\u003enegative_advice()\nexisting methods must perform the sk_dst_reset() themselves.\n\nNote the check against NULL dst is centralized in\n__dst_negative_advice(), there is no need to duplicate\nit in various callbacks.\n\nMany thanks to Clement Lecigne for tracking this issue.\n\nThis old bug became visible after the blamed commit, using UDP sockets.",
  "cwe": "CWE-416",
  "cvss_by_source": {
    "cisa-adp": 7.8,
    "cna": 7.8
  },
  "repos": [
    {
      "repo": "M4G1XX/CVE-2024-36971",
      "url": "https://github.com/M4G1XX/CVE-2024-36971",
      "created_at": "2025-10-14T12:19:13Z",
      "first_seen_at": "2026-11-18T16:05:56.708Z",
      "stars": 2,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 7 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2025-10-14T12:06:11Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
