CVE-2026-68322: rds: Fix inet6_addr_lst NULL dereference when IPv6 is disabled
In the Linux kernel, the following vulnerability has been resolved:
rds: Fix inet6addrlst NULL dereference when IPv6 is disabled
When booting with the 'ipv6.disable=1' parameter, inet6addrlst is never initialized because inet6init() exits before addrconfinit() is called to initialize it. An attempt to bind an RDS socket to an ipv6 address results in a crash in ipv6chkaddrandflags()
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] RIP: 0010:ipv6chkaddrandflags+0x1df/0x7e0 Call Trace: <TASK> ipv6chkaddr+0x3b/0x50 rdstcpladdrcheck+0x155/0x3b0 [rdstcp] rdstransgetpreferred+0x15d/0x2d0 [rds] ? tracehardirqson+0x2d/0x110 rdsbind+0x1433/0x1d60 [rds] ? rdsremovebound+0xd50/0xd50 [rds] ? aaafperm+0x250/0x250 ? mightfault+0xde/0x190 ? sysbind+0x1dc/0x210 sysbind+0x1dc/0x210 ? ia32syssocketpair+0x100/0x100 ? restorefpregsfromfpstate+0x53/0x100 x64sysbind+0x73/0xb0 ? syscallenterfromusermode+0x1c/0x50 dosyscall64+0x34/0x80 entrySYSCALL64afterhwframe+0x6e/0xd8 RIP: 0033:0x7f47f8269ea9 </TASK>
The following code reproduces the issue:
struct sockaddrin6 addr; s = socket(PFRDS, SOCKSEQPACKET, 0);
memset(&addr, 0, sizeof(addr)); inetpton(AFINET6, ADDRESS, &addr.sin6addr); addr.sin6family = AFINET6; addr.sin6port = htons(PORT);
bind(s, &addr, sizeof(addr));
Found by InfoTeCS on behalf of Linux Verification Center (linuxtesting.org) with Syzkaller.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-68322?
The severity of CVE-2026-68322 is rated as 53.
How do I fix CVE-2026-68322?
To fix CVE-2026-68322, ensure your Linux kernel is updated to a version that includes the patch for this vulnerability.
What does CVE-2026-68322 affect?
CVE-2026-68322 affects the Linux kernel's Remote Data Sharing (RDS) subsystem when IPv6 is disabled.
What happens if CVE-2026-68322 is exploited?
Exploitation of CVE-2026-68322 can lead to a NULL dereference, potentially causing denial of service.
Is CVE-2026-68322 related to IPv6 functionality?
Yes, CVE-2026-68322 is specifically related to issues arising when IPv6 is disabled in the system.