CVE-2022-48999 (GCVE-0-2022-48999)
Vulnerability from cvelistv5
Published
2024-10-21 20:06
Modified
2026-08-05 08:53
Summary
In the Linux kernel, the following vulnerability has been resolved: ipv4: Handle attempt to delete multipath route when fib_info contains an nh reference Gwangun Jung reported a slab-out-of-bounds access in fib_nh_match: fib_nh_match+0xf98/0x1130 linux-6.0-rc7/net/ipv4/fib_semantics.c:961 fib_table_delete+0x5f3/0xa40 linux-6.0-rc7/net/ipv4/fib_trie.c:1753 inet_rtm_delroute+0x2b3/0x380 linux-6.0-rc7/net/ipv4/fib_frontend.c:874 Separate nexthop objects are mutually exclusive with the legacy multipath spec. Fix fib_nh_match to return if the config for the to be deleted route contains a multipath spec while the fib_info is using a nexthop object.
Impacted products
Vendor Product Version
Linux Linux Version: 493ced1ac47c48bb86d9d4e8e87df8592be85a0e
Version: 493ced1ac47c48bb86d9d4e8e87df8592be85a0e
Version: 493ced1ac47c48bb86d9d4e8e87df8592be85a0e
Version: 493ced1ac47c48bb86d9d4e8e87df8592be85a0e
Version: 493ced1ac47c48bb86d9d4e8e87df8592be85a0e
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2022-48999",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-10-22T13:15:25.948167Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-10-22T13:18:40.948Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/ipv4/fib_semantics.c",
            "tools/testing/selftests/net/fib_nexthops.sh"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "cc3cd130ecfb8b0ae52e235e487bae3f16a24a32",
              "status": "affected",
              "version": "493ced1ac47c48bb86d9d4e8e87df8592be85a0e",
              "versionType": "git"
            },
            {
              "lessThan": "0b5394229ebae09afc07aabccb5ffd705ffd250e",
              "status": "affected",
              "version": "493ced1ac47c48bb86d9d4e8e87df8592be85a0e",
              "versionType": "git"
            },
            {
              "lessThan": "25174d91e4a32a24204060d283bd5fa6d0ddf133",
              "status": "affected",
              "version": "493ced1ac47c48bb86d9d4e8e87df8592be85a0e",
              "versionType": "git"
            },
            {
              "lessThan": "bb20a2ae241be846bc3c11ea4b3a3c69e41d51f2",
              "status": "affected",
              "version": "493ced1ac47c48bb86d9d4e8e87df8592be85a0e",
              "versionType": "git"
            },
            {
              "lessThan": "61b91eb33a69c3be11b259c5ea484505cd79f883",
              "status": "affected",
              "version": "493ced1ac47c48bb86d9d4e8e87df8592be85a0e",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/ipv4/fib_semantics.c",
            "tools/testing/selftests/net/fib_nexthops.sh"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.3"
            },
            {
              "lessThan": "5.3",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.226",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.158",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.82",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.12",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.226",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.158",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.82",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.12",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nipv4: Handle attempt to delete multipath route when fib_info contains an nh reference\n\nGwangun Jung reported a slab-out-of-bounds access in fib_nh_match:\n    fib_nh_match+0xf98/0x1130 linux-6.0-rc7/net/ipv4/fib_semantics.c:961\n    fib_table_delete+0x5f3/0xa40 linux-6.0-rc7/net/ipv4/fib_trie.c:1753\n    inet_rtm_delroute+0x2b3/0x380 linux-6.0-rc7/net/ipv4/fib_frontend.c:874\n\nSeparate nexthop objects are mutually exclusive with the legacy\nmultipath spec. Fix fib_nh_match to return if the config for the\nto be deleted route contains a multipath spec while the fib_info\nis using a nexthop object."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.1,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - Triggered via RTM_DELROUTE over rtnetlink (inet_rtm_delroute \u2192 fib_table_delete \u2192 fib_nh_match), which requires a local process with a netlink socket, not remote packet processing.\nAC:L - An attacker can reliably create a nexthop-object route and then delete it with a legacy multipath nexthop spec; no races or attacker-uncontrollable conditions are required.\nPR:L - RTM_DELROUTE/RTM_NEWNEXTHOP require CAP_NET_ADMIN, but that capability is available to an unprivileged user inside a user+network namespace (netlink_net_capable checks the netns user_ns).\nUI:N - Exploitation needs no victim action; the attacker sets up the nexthop route and issues the delete themselves.\nS:U - Impact is confined to the local kernel networking stack authority; this is not a VM/IOMMU/sandbox boundary cross.\nC:H - The bug is a slab out-of-bounds read of struct fib_nh fields past a zero-length fib_nh[] allocation; with a multipath nexthop group, fib_info_num_path() expands the OOB window across adjacent slab memory.\nI:N - The vulnerable path only reads and compares OOB memory for route matching; there is no out-of-bounds write or memory-corruption write primitive.\nA:H - The slab OOB access can oops/panic the kernel when it hits unmapped or poisoned memory, matching the reported KASAN slab-out-of-bounds crash."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T08:53:22.725Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/cc3cd130ecfb8b0ae52e235e487bae3f16a24a32"
        },
        {
          "url": "https://git.kernel.org/stable/c/0b5394229ebae09afc07aabccb5ffd705ffd250e"
        },
        {
          "url": "https://git.kernel.org/stable/c/25174d91e4a32a24204060d283bd5fa6d0ddf133"
        },
        {
          "url": "https://git.kernel.org/stable/c/bb20a2ae241be846bc3c11ea4b3a3c69e41d51f2"
        },
        {
          "url": "https://git.kernel.org/stable/c/61b91eb33a69c3be11b259c5ea484505cd79f883"
        }
      ],
      "title": "ipv4: Handle attempt to delete multipath route when fib_info contains an nh reference",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-48999",
    "datePublished": "2024-10-21T20:06:14.118Z",
    "dateReserved": "2024-08-22T01:27:53.642Z",
    "dateUpdated": "2026-08-05T08:53:22.725Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2022-48999\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-10-22T13:15:25.948167Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-10-22T13:15:29.512Z\"}}], \"cna\": {\"title\": \"ipv4: Handle attempt to delete multipath route when fib_info contains an nh reference\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.1, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:L - Triggered via RTM_DELROUTE over rtnetlink (inet_rtm_delroute \\u2192 fib_table_delete \\u2192 fib_nh_match), which requires a local process with a netlink socket, not remote packet processing.\\nAC:L - An attacker can reliably create a nexthop-object route and then delete it with a legacy multipath nexthop spec; no races or attacker-uncontrollable conditions are required.\\nPR:L - RTM_DELROUTE/RTM_NEWNEXTHOP require CAP_NET_ADMIN, but that capability is available to an unprivileged user inside a user+network namespace (netlink_net_capable checks the netns user_ns).\\nUI:N - Exploitation needs no victim action; the attacker sets up the nexthop route and issues the delete themselves.\\nS:U - Impact is confined to the local kernel networking stack authority; this is not a VM/IOMMU/sandbox boundary cross.\\nC:H - The bug is a slab out-of-bounds read of struct fib_nh fields past a zero-length fib_nh[] allocation; with a multipath nexthop group, fib_info_num_path() expands the OOB window across adjacent slab memory.\\nI:N - The vulnerable path only reads and compares OOB memory for route matching; there is no out-of-bounds write or memory-corruption write primitive.\\nA:H - The slab OOB access can oops/panic the kernel when it hits unmapped or poisoned memory, matching the reported KASAN slab-out-of-bounds crash.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"493ced1ac47c48bb86d9d4e8e87df8592be85a0e\", \"lessThan\": \"cc3cd130ecfb8b0ae52e235e487bae3f16a24a32\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"493ced1ac47c48bb86d9d4e8e87df8592be85a0e\", \"lessThan\": \"0b5394229ebae09afc07aabccb5ffd705ffd250e\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"493ced1ac47c48bb86d9d4e8e87df8592be85a0e\", \"lessThan\": \"25174d91e4a32a24204060d283bd5fa6d0ddf133\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"493ced1ac47c48bb86d9d4e8e87df8592be85a0e\", \"lessThan\": \"bb20a2ae241be846bc3c11ea4b3a3c69e41d51f2\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"493ced1ac47c48bb86d9d4e8e87df8592be85a0e\", \"lessThan\": \"61b91eb33a69c3be11b259c5ea484505cd79f883\", \"versionType\": \"git\"}], \"programFiles\": [\"net/ipv4/fib_semantics.c\", \"tools/testing/selftests/net/fib_nexthops.sh\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.3\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.3\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.4.226\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.158\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.82\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.0.12\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.0.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"net/ipv4/fib_semantics.c\", \"tools/testing/selftests/net/fib_nexthops.sh\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/cc3cd130ecfb8b0ae52e235e487bae3f16a24a32\"}, {\"url\": \"https://git.kernel.org/stable/c/0b5394229ebae09afc07aabccb5ffd705ffd250e\"}, {\"url\": \"https://git.kernel.org/stable/c/25174d91e4a32a24204060d283bd5fa6d0ddf133\"}, {\"url\": \"https://git.kernel.org/stable/c/bb20a2ae241be846bc3c11ea4b3a3c69e41d51f2\"}, {\"url\": \"https://git.kernel.org/stable/c/61b91eb33a69c3be11b259c5ea484505cd79f883\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nipv4: Handle attempt to delete multipath route when fib_info contains an nh reference\\n\\nGwangun Jung reported a slab-out-of-bounds access in fib_nh_match:\\n    fib_nh_match+0xf98/0x1130 linux-6.0-rc7/net/ipv4/fib_semantics.c:961\\n    fib_table_delete+0x5f3/0xa40 linux-6.0-rc7/net/ipv4/fib_trie.c:1753\\n    inet_rtm_delroute+0x2b3/0x380 linux-6.0-rc7/net/ipv4/fib_frontend.c:874\\n\\nSeparate nexthop objects are mutually exclusive with the legacy\\nmultipath spec. Fix fib_nh_match to return if the config for the\\nto be deleted route contains a multipath spec while the fib_info\\nis using a nexthop object.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.226\", \"versionStartIncluding\": \"5.3\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.158\", \"versionStartIncluding\": \"5.3\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.82\", \"versionStartIncluding\": \"5.3\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.0.12\", \"versionStartIncluding\": \"5.3\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1\", \"versionStartIncluding\": \"5.3\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T08:53:22.725Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2022-48999\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-05T08:53:22.725Z\", \"dateReserved\": \"2024-08-22T01:27:53.642Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-10-21T20:06:14.118Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…