{"id":"CVE-2026-68322","summary":"rds: Fix inet6_addr_lst NULL dereference when IPv6 is disabled","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nrds: Fix inet6_addr_lst NULL dereference when IPv6 is disabled\n\nWhen booting with the 'ipv6.disable=1' parameter, inet6_addr_lst\nis never initialized because inet6_init() exits before addrconf_init()\nis called to initialize it. An attempt to bind an RDS socket to\nan ipv6 address results in a crash in __ipv6_chk_addr_and_flags()\n\nKASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]\nRIP: 0010:__ipv6_chk_addr_and_flags+0x1df/0x7e0\nCall Trace:\n \u003cTASK\u003e\n ipv6_chk_addr+0x3b/0x50\n rds_tcp_laddr_check+0x155/0x3b0 [rds_tcp]\n rds_trans_get_preferred+0x15d/0x2d0 [rds]\n ? trace_hardirqs_on+0x2d/0x110\n rds_bind+0x1433/0x1d60 [rds]\n ? rds_remove_bound+0xd50/0xd50 [rds]\n ? aa_af_perm+0x250/0x250\n ? __might_fault+0xde/0x190\n ? __sys_bind+0x1dc/0x210\n __sys_bind+0x1dc/0x210\n ? __ia32_sys_socketpair+0x100/0x100\n ? restore_fpregs_from_fpstate+0x53/0x100\n __x64_sys_bind+0x73/0xb0\n ? syscall_enter_from_user_mode+0x1c/0x50\n do_syscall_64+0x34/0x80\n entry_SYSCALL_64_after_hwframe+0x6e/0xd8\nRIP: 0033:0x7f47f8269ea9\n \u003c/TASK\u003e\n\nThe following code reproduces the issue:\n\nstruct sockaddr_in6 addr;\ns = socket(PF_RDS, SOCK_SEQPACKET, 0);\n\nmemset(&addr, 0, sizeof(addr));\ninet_pton(AF_INET6, ADDRESS, &addr.sin6_addr);\naddr.sin6_family = AF_INET6;\naddr.sin6_port = htons(PORT);\n\nbind(s, &addr, sizeof(addr));\n\nFound by InfoTeCS on behalf of Linux Verification Center\n(linuxtesting.org) with Syzkaller.","modified":"2026-08-21T03:30:40.252442526Z","published":"2026-08-10T12:02:57.499Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68322.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/00d5707217b5972554898ff734ae7b71bce704e6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/438dec9b0a06bd1f8db8c58539c655e735e17367"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7809344be3f0c1bbfdfdde1cefafeec14bf52d51"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8e48d7ab1e01936a172ff31531904b003895fd8c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9c805e592a29be9e4e61ff1bd567da04aa8fd6f9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a8302e758050e6a922765aee8d220a4fd350f52d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b61c9eb5931bb7389bc104faacd8c17d910da65d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f6787fdffcae5490c779f0f3f33b11597525d1ae"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68322.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68322"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"eee2fa6ab3225192d6d894c54a6fb02ac9efdff6"},{"fixed":"7809344be3f0c1bbfdfdde1cefafeec14bf52d51"},{"fixed":"438dec9b0a06bd1f8db8c58539c655e735e17367"},{"fixed":"b61c9eb5931bb7389bc104faacd8c17d910da65d"},{"fixed":"8e48d7ab1e01936a172ff31531904b003895fd8c"},{"fixed":"a8302e758050e6a922765aee8d220a4fd350f52d"},{"fixed":"f6787fdffcae5490c779f0f3f33b11597525d1ae"},{"fixed":"00d5707217b5972554898ff734ae7b71bce704e6"},{"fixed":"9c805e592a29be9e4e61ff1bd567da04aa8fd6f9"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-68322.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.19.0"},{"fixed":"5.10.265"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.216"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.183"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.151"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.103"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.44"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-68322.json"}}],"schema_version":"1.9.0"}