{"id":"CVE-2023-53566","aliases":["CVE-2023-53566"],"related":[],"kind":"vulnerability","state":"published","title":"netfilter: nft_set_rbtree: fix null deref on element insertion","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_set_rbtree: fix null deref on element insertion\n\nThere is no guarantee that rb_prev() will not return NULL in nft_rbtree_gc_elem():\n\ngeneral protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN\nKASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f]\n nft_add_set_elem+0x14b0/0x2990\n  nf_tables_newsetelem+0x528/0xb30\n\nFurthermore, there is a possible use-after-free while iterating,\n'node' can be free'd so we need to cache the next value to use.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_set_rbtree: fix null deref on element insertion\n\nThere is no guarantee that rb_prev() will not return NULL in nft_rbtree_gc_elem():\n\ngeneral protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN\nKASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f]\n nft_add_set_elem+0x14b0/0x2990\n  nf_tables_newsetelem+0x528/0xb30\n\nFurthermore, there is a possible use-after-free while iterating,\n'node' can be free'd so we need to cache the next value to use.","source":"cvelist"}],"published":"2025-10-04T15:17:08.598Z","modified":"2026-10-15T22:17:43.140Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"7ab87a326f20c52ff4d9972052d085be951c704b","fixed":"b76db53ee8802ee5683f8cb401d7e2ec6f9b3d56","status":"affected"},{"type":"git","introduced":"181859bdfb9734aca449512fccaee4cacce64aed","fixed":"899aa5638568abf5d69de7a7bb95e4615157375b","status":"affected"},{"type":"git","introduced":"4aacf3d78424293e318c616016865380b37b9cc5","fixed":"3fa13203b6d90cc3a33af47b058739f92ab82eef","status":"affected"},{"type":"git","introduced":"2bf1435fa19d2c58054391b3bba40d5510a5758c","fixed":"ec5caa765f7f6960011c919c9aeb1467940421f6","status":"affected"},{"type":"git","introduced":"318cb24a4c3fce8140afaf84e4d45fcb76fb280b","fixed":"a836be60a3aabcedcd9c79f545d409ace1f20ba6","status":"affected"},{"type":"git","introduced":"c9e6978e2725a7d4b6cd23b2facd3f11422c0643","fixed":"a337706c1fb35aac3f26b48aca80421bdbe1d33a","status":"affected"},{"type":"git","introduced":"c9e6978e2725a7d4b6cd23b2facd3f11422c0643","fixed":"61ae320a29b0540c16931816299eb86bf2b66c08","status":"affected"},{"type":"semver","introduced":"5.10.166","fixed":"5.10.181","status":"affected"},{"type":"semver","introduced":"5.15.91","fixed":"5.15.113","status":"affected"},{"type":"semver","introduced":"6.1.9","fixed":"6.1.30","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.2","status":"unaffected"},{"type":"semver","introduced":"5.10.181","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.113","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.30","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.3.4","lastAffected":"6.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.4","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.10.166","fixed":"5.10.181"},{"status":"affected","introduced":"5.15.91","fixed":"5.15.113"},{"status":"affected","introduced":"6.1.9","fixed":"6.1.30"},{"status":"affected","introduced":"6.2.1","fixed":"6.3.4"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.4"},{"status":"affected","version":"6.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b76db53ee8802ee5683f8cb401d7e2ec6f9b3d56","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/899aa5638568abf5d69de7a7bb95e4615157375b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3fa13203b6d90cc3a33af47b058739f92ab82eef","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ec5caa765f7f6960011c919c9aeb1467940421f6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a836be60a3aabcedcd9c79f545d409ace1f20ba6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a337706c1fb35aac3f26b48aca80421bdbe1d33a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/61ae320a29b0540c16931816299eb86bf2b66c08","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:35:38.094Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53566","url":"https://www.cve.org/CVERecord?id=CVE-2023-53566","licence":"CVE Terms of Use","modified":"2026-10-15T21:41:30.987Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53566","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53566","licence":"Public domain","modified":"2026-10-15T22:17:43.140Z"}],"updatedAt":"2026-11-25T22:58:34.943Z","epss":{"score":0.00152,"percentile":0.0459,"date":"2026-12-01T12:00:22.000Z"}}