# CVE-2026-98068: net/rds: don't let rds\_conn\_shutdown() consume a concurrent drop

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.11% (percentile 0, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2026-09-25T10:24:10.234Z
- **Modified:** 2026-11-18T18:12:03.753Z

## Who should check

- Anyone running Linux \>= e97656d03ca0cea888a0b9d382abce8233771f31, \< f777c602d3e15d3414b53f760147687bd56b03f2; \>= e97656d03ca0cea888a0b9d382abce8233771f31, \< 7cb11257aa3e5ef0bedfd5d55ac60bb00347aa97; \>= e97656d03ca0cea888a0b9d382abce8233771f31, \< 4980ce260205001d582a7b3cb5eab29877777fbc; \>= e97656d03ca0cea888a0b9d382abce8233771f31, \< 0ec75c69918b7f6a1a5e3fb6442925246a9ec86b; \>= e97656d03ca0cea888a0b9d382abce8233771f31, \< bd1cb197a07111ca8d4f4c21411c56a3c85a9797; \>= e97656d03ca0cea888a0b9d382abce8233771f31, \< 4cb9b6d3d31a2dbaa5469981c2c4c03e9acc7aca; \>= e97656d03ca0cea888a0b9d382abce8233771f31, \< 2941561395066be856a53626d4ca973dd9c982b2; \>= e97656d03ca0cea888a0b9d382abce8233771f31, \< 260c6308fe2e19ad519389d44d582e292aecc3af
- Anyone running Linux 4.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

net/rds: don't let rds\_conn\_shutdown() consume a concurrent drop

rds\_conn\_shutdown() finishes by moving the path from
RDS\_CONN\_DISCONNECTING to RDS\_CONN\_DOWN, and also accepts
RDS\_CONN\_ERROR as the starting state of that final transition, so that
a FIN processed in softirq context during the teardown does not derail
the shutdown into a noisy error path.

But consuming that RDS\_CONN\_ERROR also consumes the shutdown pass that
came with it: rds\_conn\_path\_drop() sets RDS\_CONN\_ERROR and then queues
cp\_down\_w, and a pass that starts on a path already in RDS\_CONN\_DOWN
is a no-op.  For the FIN case that is harmless - the socket the FIN
arrived on is the very socket the teardown just released.  It is not
harmless for a dropper that attached something to the path first.

rds\_tcp\_accept\_one() is such a dropper.  Its path claim in
rds\_tcp\_accept\_one\_path() transitions RDS\_CONN\_DOWN -\>
RDS\_CONN\_CONNECTING, and a concurrent drop - a FIN on a previous
socket in softirq context, an administrative reset - can put the path
into RDS\_CONN\_ERROR between that claim and the state check that
follows, which accepts RDS\_CONN\_ERROR.  The accept then installs the
freshly accepted socket with rds\_tcp\_set\_callbacks() while the queued
teardown - which sampled tc-\>t\_sock before this socket existed - is
still running.  rds\_connect\_path\_complete() fails its transition to
RDS\_CONN\_UP and drops the path again, queueing the pass that should
reap the socket it just installed.  If the in-flight shutdown's final
transition consumes that drop's RDS\_CONN\_ERROR, the queued pass finds
the path in RDS\_CONN\_DOWN and does nothing.  The installed socket is
never torn down: it sits established with its callbacks armed and its
rds\_tcp\_connection on rds\_tcp\_tc\_list, the peer sees a connection that
nothing ever reads, and the path is wedged in RDS\_CONN\_DOWN until some
later event drops it again.  Reproduced with widened race windows as
an ever-growing receive queue on a socket owned by a path stuck in
RDS\_CONN\_DOWN, with the peer's send path wedged behind it.

Make the final transition only DISCONNECTING -\> DOWN.  If it fails
because the path is in RDS\_CONN\_ERROR, a drop raced the teardown:
cancel the reconnect timer and clear RDS\_RECONNECT\_PENDING - the one
piece of the skipped tail that must not be left behind - and return,
letting the pass the drop queued finish the job: it tears down
whatever attached to the path in the meantime, completes the
transition to RDS\_CONN\_DOWN, and re-arms the reconnect from its own
tail.

The timer quiesce in that branch matters because the racing drop does
not always queue that pass: rds\_conn\_path\_drop() returns without
queueing when a destroy is pending - exactly the situation during a
netns teardown or module unload, when a FIN on the dying socket is
processed while rds\_conn\_path\_destroy() flushes cp\_down\_w.  If the
flushed pass is the one that takes this return, no later pass exists,
and rds\_conn\_path\_destroy() would find cp\_conn\_w still armed
(WARN\_ON) and then free a path whose reconnect timer can still fire.
With the cancel in the branch, every exit of a shutdown pass leaves
the timer quiesced no matter which pass completes the transition.

The FIN case keeps making progress, one pass later and still without
noisy logging.  Any other state keeps today's rds\_conn\_path\_error()
handling; no current cp\_state writer can leave a DISCONNECTING path
in anything but RDS\_CONN\_ERROR (every other writer is a cmpxchg from
a non-DISCONNECTING state), so that branch is defensive.

On kernels without the preceding patches the same hazard exists with
the sample-based quiesce; the fix applies there equally.

## Affected and fixed versions

- Linux: \>= e97656d03ca0cea888a0b9d382abce8233771f31, \< f777c602d3e15d3414b53f760147687bd56b03f2; \>= e97656d03ca0cea888a0b9d382abce8233771f31, \< 7cb11257aa3e5ef0bedfd5d55ac60bb00347aa97; \>= e97656d03ca0cea888a0b9d382abce8233771f31, \< 4980ce260205001d582a7b3cb5eab29877777fbc; \>= e97656d03ca0cea888a0b9d382abce8233771f31, \< 0ec75c69918b7f6a1a5e3fb6442925246a9ec86b; \>= e97656d03ca0cea888a0b9d382abce8233771f31, \< bd1cb197a07111ca8d4f4c21411c56a3c85a9797; \>= e97656d03ca0cea888a0b9d382abce8233771f31, \< 4cb9b6d3d31a2dbaa5469981c2c4c03e9acc7aca; \>= e97656d03ca0cea888a0b9d382abce8233771f31, \< 2941561395066be856a53626d4ca973dd9c982b2; \>= e97656d03ca0cea888a0b9d382abce8233771f31, \< 260c6308fe2e19ad519389d44d582e292aecc3af (cvelist)
- Linux: 4.12 (cvelist)

## Mitigation

- Upgrade Linux to 260c6308fe2e19ad519389d44d582e292aecc3af or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98068. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98068.md
Affected: Linux >= e97656d03ca0cea888a0b9d382abce8233771f31, < f777c602d3e15d3414b53f760147687bd56b03f2; >= e97656d03ca0cea888a0b9d382abce8233771f31, < 7cb11257aa3e5ef0bedfd5d55ac60bb00347aa97; >= e97656d03ca0cea888a0b9d382abce8233771f31, < 4980ce260205001d582a7b3cb5eab29877777fbc; >= e97656d03ca0cea888a0b9d…
Fixed in: Linux 7cb11257aa3e5ef0bedfd5d55ac60bb00347aa97, Linux 4980ce260205001d582a7b3cb5eab29877777fbc, Linux 0ec75c69918b7f6a1a5e3fb6442925246a9ec86b, Linux 4cb9b6d3d31a2dbaa5469981c2c4c03e9acc7aca, Linux 2941561395066be856a53626d4ca973dd9c982b2, Linux 260c6308fe2e19ad519389d44d582e292aecc3af

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98068 being exploited?

There is no confirmed exploitation: CVE-2026-98068 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.11% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98068?

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-98068?

Linux \>= e97656d03ca0cea888a0b9d382abce8233771f31, \< f777c602d3e15d3414b53f760147687bd56b03f2; \>= e97656d03ca0cea888a0b9d382abce8233771f31, \< 7cb11257aa3e5ef0bedfd5d55ac60bb00347aa97; \>= e97656d03ca0cea888a0b9d382abce8233771f31, \< 4980ce260205001d582a7b3cb5eab29877777fbc; \>= e97656d03ca0cea888a0b9d382abce8233771f31, \< 0ec75c69918b7f6a1a5e3fb6442925246a9ec86b; \>= e97656d03ca0cea888a0b9d382abce8233771f31, \< bd1cb197a07111ca8d4f4c21411c56a3c85a9797; \>= e97656d03ca0cea888a0b9d382abce8233771f31, \< 4cb9b6d3d31a2dbaa5469981c2c4c03e9acc7aca; \>= e97656d03ca0cea888a0b9d382abce8233771f31, \< 2941561395066be856a53626d4ca973dd9c982b2; \>= e97656d03ca0cea888a0b9d382abce8233771f31, \< 260c6308fe2e19ad519389d44d582e292aecc3af; Linux 4.12.

### Is there a fix for CVE-2026-98068?

Yes. Fixed in Linux 7cb11257aa3e5ef0bedfd5d55ac60bb00347aa97, Linux 4980ce260205001d582a7b3cb5eab29877777fbc, Linux 0ec75c69918b7f6a1a5e3fb6442925246a9ec86b, Linux 4cb9b6d3d31a2dbaa5469981c2c4c03e9acc7aca, Linux 2941561395066be856a53626d4ca973dd9c982b2, Linux 260c6308fe2e19ad519389d44d582e292aecc3af. Upgrade Linux to 260c6308fe2e19ad519389d44d582e292aecc3af or later.

### How do I check if I'm affected by CVE-2026-98068?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/f777c602d3e15d3414b53f760147687bd56b03f2>
- patch: <https://git.kernel.org/stable/c/7cb11257aa3e5ef0bedfd5d55ac60bb00347aa97>
- patch: <https://git.kernel.org/stable/c/4980ce260205001d582a7b3cb5eab29877777fbc>
- patch: <https://git.kernel.org/stable/c/0ec75c69918b7f6a1a5e3fb6442925246a9ec86b>
- patch: <https://git.kernel.org/stable/c/bd1cb197a07111ca8d4f4c21411c56a3c85a9797>
- patch: <https://git.kernel.org/stable/c/4cb9b6d3d31a2dbaa5469981c2c4c03e9acc7aca>
- patch: <https://git.kernel.org/stable/c/2941561395066be856a53626d4ca973dd9c982b2>
- patch: <https://git.kernel.org/stable/c/260c6308fe2e19ad519389d44d582e292aecc3af>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98068>

HTML: <https://flawdb.com/CVE-2026-98068> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98068>
