Kernel Kit / Infix / v26.10.0latest
CVE-2026-99270
8.1highlinux6.18.60 · 6.18.54 · 6.18.8 · 6.12.21in 4 of 4 releases
Not yet analysed by NVD. Matched on the vendor's record; this may change when NVD has analysed it.
Reach linux · 8 builds in 4 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
tcp: Fix potential UAF in reqsk_timer_handler().
When TCP socket migration fails at inet_ehash_insert() in reqsk_timer_handler(), we jump to the no_ownership: label and free the new reqsk immediately with __reqsk_free().
Thus, we must stop the new reqsk's timer before jumping to the label, but the timer might be missed since the cited commit, resulting in UAF.
As we are in the original reqsk's timer context, we can safely call timer_delete_sync() for the new reqsk.
Let's pass false to __inet_csk_reqsk_queue_drop() to stop the new reqsk's timer.
Published 2026-11-03NVD
CVSS 3.1Network · no privileges · no user interaction
How it is reached
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
What it costs
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Scope
- Unchanged
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Fable 5.2 · medium confidence · 2026-11-19
The unfixed code is in this build: in reqsk_timer_handler() the failed-inet_ehash_insert() path still calls __inet_csk_reqsk_queue_drop(sk_listener, nreq, true), so the new reqsk's timer is not stopped before __reqsk_free(nreq). The file is compiled in (CONFIG_INET=y, object listed in output/objects.txt) and no applied patch touches it.
That path only runs when a TCP request is migrated between SO_REUSEPORT listeners. This requires net.ipv4.tcp_migrate_req=1 (kernel default 0) or a BPF_SK_REUSEPORT_SELECT_OR_MIGRATE program attached to the listener group. Nothing in the image sets either, and confd only writes per-interface sysctls, so no YANG node, CLI command or web UI setting can turn it on.
Reaching it needs a root shell to set the sysctl or load a BPF program, plus a service with multiple reuseport listeners on one port, one of which closes while handshakes are pending. Only then would it be triggerable from the network by remote SYNs.
Evidence 12
On `inet_ehash_insert()` failure the code calls `__inet_csk_reqsk_queue_drop(sk_listener, nreq, true)` then `goto no_ownership`; the fix passes `false` here, so this is the unfixed form.
output/build/linux-6.18.60/net/ipv4/inet_connection_sock.c:1136-1139
`__inet_csk_reqsk_queue_drop()` only calls `timer_delete_sync()` when `from_timer` is false, so with `true` the timer armed by `mod_timer()` at line 1131 stays pending.
output/build/linux-6.18.60/net/ipv4/inet_connection_sock.c:1026-1033
The `no_ownership:` label frees `nreq` immediately with `__reqsk_free(nreq)` while its timer may still be armed.
output/build/linux-6.18.60/net/ipv4/inet_connection_sock.c:1157-1160
`nreq` is only created when the listener is no longer in `TCP_LISTEN` and `reuseport_migrate_sock()` returns a new listener; otherwise `nreq` is NULL and the vulnerable branch is skipped.
output/build/linux-6.18.60/net/ipv4/inet_connection_sock.c:1065-1087
`reuseport_migrate_sock()` fails unless `sysctl_tcp_migrate_req` is set or a `BPF_SK_REUSEPORT_SELECT_OR_MIGRATE` program is attached.
output/build/linux-6.18.60/net/core/sock_reuseport.c:646-649
`tcp_migrate_req` is a 0/1 sysctl, mode 0644 (root-writable); a search of `net/ipv4` and `net/core` found no code initialising it to non-zero, so it defaults to 0.
output/build/linux-6.18.60/net/ipv4/sysctl_net_ipv4.c:1032-1038
The shipped sysctl settings do not set `net.ipv4.tcp_migrate_req`; a search of `board/`, `src/`, `package/`, `configs/` and `output/target/etc` for `tcp_migrate_req` and `reuseport` found nothing.
output/target/etc/sysctl.d/ipv4.conf
confd's sysctl generation (`netdag_gen_sysctl`) writes per-interface settings only; a search of `src/confd` found no YANG-driven path to TCP sysctls.
src/confd/src/interfaces.c:357-387
The nginx `listen` directives do not use `reuseport`, so the web/RESTCONF front end does not form a reuseport listener group.
output/target/etc/nginx/available/default.conf:2-10
`CONFIG_INET=y` (also `CONFIG_SMP=y` at line 303 and `CONFIG_BPF_SYSCALL=y` at line 100), so the TCP code and the BPF reuseport route are built.
output/build/linux-6.18.60/.config:1062
`net/ipv4/inet_connection_sock.o` was produced by the build.
output/objects.txt:21849
No applied patch name matches `tcp`, `reqsk` or `inet`; the 139 patches do not include the fix.
output/build/linux-6.18.60/.applied_patches_list
Version and patches
output/build/linux-6.18.60/Makefile confirms 6.18.60. I could not check the affected range or fixed version in the CNA record or the three stable commits, because the tree has no network access. I settled the question from the source instead: the fix described by the CVE (passing false to __inet_csk_reqsk_queue_drop() for the new reqsk) is absent at net/ipv4/inet_connection_sock.c:1138, and none of the applied patches touches that file's TCP code.
Recommendation
Not urgent for the default product, but do not document it as not applicable: the vulnerable code is present and it is a remotely triggerable use-after-free once request migration is enabled.
Pick up the fix at the next routine kernel bump to a 6.18.y release that contains it, or backport the one-line change (true to false at net/ipv4/inet_connection_sock.c:1138) into the kernel patch set.
Until then, keep net.ipv4.tcp_migrate_req at 0 and do not ship services that attach SK_REUSEPORT migrate BPF programs.
Open questions
Which 6.18.y release carries the fix, and whether NVD's range really includes 6.18.60, could not be confirmed offline. The description matches an upstream fix I recall landing well before 6.18, so it is worth checking against the three stable commits why the unfixed call is in this tree (a regression reintroduced later, or a new CVE for a similar path).
Only the aarch64_minimal_defconfig build was reviewed, and it has no container runtime selected. Builds that include containers give each container its own network namespace with its own tcp_migrate_req, so they should be checked separately.
Third-party daemons in the image were checked only through their shipped configuration under output/target/etc, not through their source, for SO_REUSEPORT use.
Members of Kernel Kit decide. Sign in if you are one.