{
  "id": "CVE-2025-21791",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-21791",
  "published_at": "2025-02-27T02:18:29.014Z",
  "title": "vrf: use RCU protection in l3mdev_l3_out()",
  "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": false,
    "added_at": null,
    "days_after_publication": null
  },
  "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\nvrf: use RCU protection in l3mdev_l3_out()\n\nl3mdev_l3_out() can be called without RCU being held:\n\nraw_sendmsg()\n ip_push_pending_frames()\n  ip_send_skb()\n   ip_local_out()\n    __ip_local_out()\n     l3mdev_ip_out()\n\nAdd rcu_read_lock() / rcu_read_unlock() pair to avoid\na potential UAF.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 7.8,
    "cna": 7.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= a8e3e1a9f02094145580ea7920c6a1d9aabd5539, \u003c 6ccaa5797f5362a2aad6baa6ddaf4715ac2dd51e",
          "\u003e= a8e3e1a9f02094145580ea7920c6a1d9aabd5539, \u003c 20a3489b396764cc9376e32a9172bee26a89dc3b",
          "\u003e= a8e3e1a9f02094145580ea7920c6a1d9aabd5539, \u003c 5bb4228c32261d06e4fbece37ec3828bcc005b6b",
          "\u003e= a8e3e1a9f02094145580ea7920c6a1d9aabd5539, \u003c c7574740be8ce68a57d0aece24987b9be2114c3c",
          "\u003e= a8e3e1a9f02094145580ea7920c6a1d9aabd5539, \u003c c40cb5c03e37552d6eff963187109e2c3f78ef6f",
          "\u003e= a8e3e1a9f02094145580ea7920c6a1d9aabd5539, \u003c 022cac1c693add610ae76ede03adf4d9d5a2cf21",
          "\u003e= a8e3e1a9f02094145580ea7920c6a1d9aabd5539, \u003c 7b81425b517accefd46bee854d94954f5c57e019",
          "\u003e= a8e3e1a9f02094145580ea7920c6a1d9aabd5539, \u003c 6d0ce46a93135d96b7fa075a94a88fe0da8e8773"
        ],
        "fixed_in": [
          "6ccaa5797f5362a2aad6baa6ddaf4715ac2dd51e",
          "20a3489b396764cc9376e32a9172bee26a89dc3b",
          "5bb4228c32261d06e4fbece37ec3828bcc005b6b",
          "c7574740be8ce68a57d0aece24987b9be2114c3c",
          "c40cb5c03e37552d6eff963187109e2c3f78ef6f",
          "022cac1c693add610ae76ede03adf4d9d5a2cf21",
          "7b81425b517accefd46bee854d94954f5c57e019",
          "6d0ce46a93135d96b7fa075a94a88fe0da8e8773"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.9"
        ],
        "fixed_in": [
          "0",
          "5.4.291",
          "5.10.235",
          "5.15.179",
          "6.1.129",
          "6.6.79",
          "6.12.16",
          "6.13.4",
          "6.14"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 6ccaa5797f5362a2aad6baa6ddaf4715ac2dd51e or 20a3489b396764cc9376e32a9172bee26a89dc3b or 5bb4228c32261d06e4fbece37ec3828bcc005b6b or c7574740be8ce68a57d0aece24987b9be2114c3c or c40cb5c03e37552d6eff963187109e2c3f78ef6f or 022cac1c693add610ae76ede03adf4d9d5a2cf21 or 7b81425b517accefd46bee854d94954f5c57e019 or 6d0ce46a93135d96b7fa075a94a88fe0da8e8773 or later.",
      "Upgrade Linux to 0 or 5.4.291 or 5.10.235 or 5.15.179 or 6.1.129 or 6.6.79 or 6.12.16 or 6.13.4 or 6.14 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
