rds: Fix inet6_addr_lst NULL dereference when IPv6 is disabled (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.22 % · percentile 12 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: rds: Fix inet6_addr_lst NULL dereference when IPv6 is disabled When booting with the 'ipv6.disable=1' parameter, inet6_addr_lst is never initialized because inet6_init() exits before addrconf_init() is called to initialize it. An attempt to bind an RDS socket to an ipv6 address results in a crash in __ipv6_chk_addr_and_flags() KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] RIP: 0010:__ipv6_chk_addr_and_flags+0x1df/0x7e0 Call Trace: <TASK> ipv6_chk_addr+0x3b/0x50 rds_tcp_laddr_check+0x155/0x3b0 [rds_tcp] rds_trans_get_preferred+0x15d/0x2d0 [rds] ? trace_hardirqs_on+0x2d/0x110 rds_bind+0x1433/0x1d60 [rds] ? rds_remove_bound+0xd50/0xd50 [rds] ? aa_af_perm+0x250/0x250 ? __might_fault+0xde/0x190 ? __sys_bind+0x1dc/0x210 __sys_bind+0x1dc/0x210 ? __ia32_sys_socketpair+0x100/0x100 ? restore_fpregs_from_fpstate+0x53/0x100 __x64_sys_bind+0x73/0xb0 ? syscall_enter_from_user_mode+0x1c/0x50 do_syscall_64+0x34/0x80 entry_SYSCALL_64_after_hwframe+0x6e/0xd8 RIP: 0033:0x7f47f8269ea9 </TASK> The following code reproduces the issue: struct sockaddr_in6 addr; s = socket(PF_RDS, SOCK_SEQPACKET, 0); memset(&addr, 0, sizeof(addr)); inet_pton(AF_INET6, ADDRESS, &addr.sin6_addr); addr.sin6_family = AF_INET6; addr.sin6_port = htons(PORT); bind(s, &addr, sizeof(addr)); Found by InfoTeCS on behalf of Linux Verification Center (linuxtesting.org) with Syzkaller.
References
- https://git.kernel.org/stable/c/7809344be3f0c1bbfdfdde1cefafeec14bf52d51
- https://git.kernel.org/stable/c/438dec9b0a06bd1f8db8c58539c655e735e17367
- https://git.kernel.org/stable/c/b61c9eb5931bb7389bc104faacd8c17d910da65d
- https://git.kernel.org/stable/c/8e48d7ab1e01936a172ff31531904b003895fd8c
- https://git.kernel.org/stable/c/a8302e758050e6a922765aee8d220a4fd350f52d
- https://git.kernel.org/stable/c/f6787fdffcae5490c779f0f3f33b11597525d1ae
- https://git.kernel.org/stable/c/00d5707217b5972554898ff734ae7b71bce704e6
- https://git.kernel.org/stable/c/9c805e592a29be9e4e61ff1bd567da04aa8fd6f9
European references
- ENISA EUVD · EUVD-2026-55423
- GCVE · GCVE-0-2026-68322
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1255 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1232 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1202 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1164 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1163 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1090 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected eee2fa6ab3225192d6d894c54a6fb02ac9efdff6 < 7809344be3f0c1bbfdfdde1cefafeec14bf52d51 ; affected eee2fa6ab3225192d6d894c54a6fb02ac9efdff6 < 438dec9b0a06bd1f8db8c58539c655e735e17367 ; affected eee2fa6ab3225192d6d894c54a6fb02ac9efdff6 < b61c9eb5931bb7389bc104faacd8c17d910da65d ; affected eee2fa6ab3225192d6d894c54a6fb02ac9efdff6 < 8e48d7ab1e01936a172ff31531904b003895fd8c ; affected eee2fa6ab3225192d6d894c54a6fb02ac9efdff6 < a8302e758050e6a922765aee8d220a4fd350f52d ; affected eee2fa6ab3225192d6d894c54a6fb02ac9efdff6 < f6787fdffcae5490c779f0f3f33b11597525d1ae |
| Linux · Linux | affected 4.19 ; unaffected 0 < 4.19 ; unaffected 5.10.265 ≤ 5.10.* ; unaffected 5.15.216 ≤ 5.15.* ; unaffected 6.1.183 ≤ 6.1.* ; unaffected 6.6.151 ≤ 6.6.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |