ghsa-jgvw-q27w-5hcm
Vulnerability from github
Published
2024-03-03 00:30
Modified
2024-03-03 00:30
Details

In the Linux kernel, the following vulnerability has been resolved:

ipv4: fix null-deref in ipv4_link_failure

Currently, we assume the skb is associated with a device before calling __ip_options_compile, which is not always the case if it is re-routed by ipvs. When skb->dev is NULL, dev_net(skb->dev) will become null-dereference. This patch adds a check for the edge case and switch to use the net_device from the rtable when skb->dev is NULL.

Show details on source website


{
  "affected": [],
  "aliases": [
    "CVE-2023-52579"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2024-03-02T22:15:49Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nipv4: fix null-deref in ipv4_link_failure\n\nCurrently, we assume the skb is associated with a device before calling\n__ip_options_compile, which is not always the case if it is re-routed by\nipvs.\nWhen skb-\u003edev is NULL, dev_net(skb-\u003edev) will become null-dereference.\nThis patch adds a check for the edge case and switch to use the net_device\nfrom the rtable when skb-\u003edev is NULL.",
  "id": "GHSA-jgvw-q27w-5hcm",
  "modified": "2024-03-03T00:30:33Z",
  "published": "2024-03-03T00:30:32Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-52579"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0113d9c9d1ccc07f5a3710dac4aa24b6d711278c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/084c7ac9e8d60bf21a423490021b7c3427312955"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2712545e535d7a2e4c53b9c9658a9c88c6055862"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/810fd23d9715474aa27997584e8fc9396ef3cb67"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8689c9ace976d6c078e6dc844b09598796e84099"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8860d354f653628b6330e1c5b06b2828948135a4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a2cf7bd75b3992e8df68dd5fdc6499b67d45f6e0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/cda20fcddf53f0f959641c8ef4d50ab87ffa5124"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...