{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-49904","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-05-01T14:05:17.245Z","datePublished":"2025-05-01T14:10:48.998Z","dateUpdated":"2026-05-11T19:08:58.357Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-05-11T19:08:58.357Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet, neigh: Fix null-ptr-deref in neigh_table_clear()\n\nWhen IPv6 module gets initialized but hits an error in the middle,\nkenel panic with:\n\nKASAN: null-ptr-deref in range [0x0000000000000598-0x000000000000059f]\nCPU: 1 PID: 361 Comm: insmod\nHardware name: QEMU Standard PC (i440FX + PIIX, 1996)\nRIP: 0010:__neigh_ifdown.isra.0+0x24b/0x370\nRSP: 0018:ffff888012677908 EFLAGS: 00000202\n...\nCall Trace:\n <TASK>\n neigh_table_clear+0x94/0x2d0\n ndisc_cleanup+0x27/0x40 [ipv6]\n inet6_init+0x21c/0x2cb [ipv6]\n do_one_initcall+0xd3/0x4d0\n do_init_module+0x1ae/0x670\n...\nKernel panic - not syncing: Fatal exception\n\nWhen ipv6 initialization fails, it will try to cleanup and calls:\n\nneigh_table_clear()\n  neigh_ifdown(tbl, NULL)\n    pneigh_queue_purge(&tbl->proxy_queue, dev_net(dev == NULL))\n    # dev_net(NULL) triggers null-ptr-deref.\n\nFix it by passing NULL to pneigh_queue_purge() in neigh_ifdown() if dev\nis NULL, to make kernel not panic immediately."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/neighbour.c"],"versions":[{"version":"9bbaed571c4bf1b62ac8703cb359dc090efc3455","lessThan":"0d38b4ca6679e72860ff8730e79bb99d0e9fa3b0","status":"affected","versionType":"git"},{"version":"05fdce1ae744dee43c9181fd063c9c0db4f777f2","lessThan":"b736592de2aa53aee2d48d6b129bc0c892007bbe","status":"affected","versionType":"git"},{"version":"51be9dd391fd25872b95708a0250f2f7722d2d8e","lessThan":"b49f6b2f21f543d4dc88fb7b1ec2adccb822f27c","status":"affected","versionType":"git"},{"version":"c35adafe42bd6c3bf2aca0a3f523dabc38fc23c8","lessThan":"1c89642e7f2b7ecc9635610653f5c2f0276c0051","status":"affected","versionType":"git"},{"version":"db6fa03d80ab076238fc806c9925d1f8b9639d1b","lessThan":"2b45d6d0c41cb9593868e476681efb1aae5078a1","status":"affected","versionType":"git"},{"version":"66ba215cb51323e4e55e38fd5f250e0fae0cbc94","lessThan":"a99a8ec4c62180c889482a2ff6465033e0743458","status":"affected","versionType":"git"},{"version":"66ba215cb51323e4e55e38fd5f250e0fae0cbc94","lessThan":"f8017317cb0b279b8ab98b0f3901a2e0ac880dad","status":"affected","versionType":"git"},{"version":"2dd5ed474115150d8175825bc3b56c6385c3a83b","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/neighbour.c"],"versions":[{"version":"6.0","status":"affected"},{"version":"0","lessThan":"6.0","status":"unaffected","versionType":"semver"},{"version":"4.14.299","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.265","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.224","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.154","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.78","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.0.8","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14.292","versionEndExcluding":"4.14.299"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19.257","versionEndExcluding":"4.19.265"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4.212","versionEndExcluding":"5.4.224"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.141","versionEndExcluding":"5.10.154"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15.65","versionEndExcluding":"5.15.78"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.0.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19.7"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/0d38b4ca6679e72860ff8730e79bb99d0e9fa3b0"},{"url":"https://git.kernel.org/stable/c/b736592de2aa53aee2d48d6b129bc0c892007bbe"},{"url":"https://git.kernel.org/stable/c/b49f6b2f21f543d4dc88fb7b1ec2adccb822f27c"},{"url":"https://git.kernel.org/stable/c/1c89642e7f2b7ecc9635610653f5c2f0276c0051"},{"url":"https://git.kernel.org/stable/c/2b45d6d0c41cb9593868e476681efb1aae5078a1"},{"url":"https://git.kernel.org/stable/c/a99a8ec4c62180c889482a2ff6465033e0743458"},{"url":"https://git.kernel.org/stable/c/f8017317cb0b279b8ab98b0f3901a2e0ac880dad"}],"title":"net, neigh: Fix null-ptr-deref in neigh_table_clear()","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"problemTypes":[{"descriptions":[{"type":"CWE","cweId":"CWE-476","lang":"en","description":"CWE-476 NULL Pointer Dereference"}]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-10-01T16:01:29.450409Z","id":"CVE-2022-49904","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-10-01T16:01:32.063Z"}}]}}