CVE-2026-99133

Source
https://cve.org/CVERecord?id=CVE-2026-99133
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99133.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99133
Downstream
Published
2026-10-28T10:34:46Z
Modified
2026-11-01T02:30:35Z
Summary
net/iucv: fix the recvmsg window update
Details

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

net/iucv: fix the recvmsg window update

iucv_sock_recvmsg() sends the HiperSockets-only AF_IUCV_FLAG_WIN without testing the transport, so on a classic z/VM socket iucv_send_ctrl() sizes the skb through a NULL iucv->hs_dev. SO_MSGLIMIT accepts 1, so msglimit / 2 is zero and one recvmsg() on its own socket is enough for an unprivileged process to take a spurious disconnect.

It also calls iucv_send_ctrl() under spin_lock_bh(&message_q.lock), which allocates GFP_KERNEL inside a section the code treats as atomic. Sending outside that lock lets two recvmsg() reach afiucv_hs_send() at once, where msg_recv is sampled for the advertised window and subtracted after dev_queue_xmit() -- and sendmsg reaches that counter under lock_sock() while recvmsg holds no socket lock, so both can subtract the same value, the counter goes negative and the credit reaches the peer twice.

Test the transport, claim the credit with atomic_xchg() after the last error exit and hand it back if the transmit fails, and send once the lock is dropped.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99133.json"
}
References

Affected packages

Git / 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
3881ac441f642d56503818123446f7298442236b
Fixed
01123990f59ce32a1a5e690a4aeee002e932bb07
Fixed
1ebe68bbf8e75eeccaca0c7bc9694f5bc0c3f00a
Fixed
23e7fbbdca5aaba2a9a7bb9e4f2dc179c290ee76
Fixed
ce8aac3eb57f5366fa082b7cb8a1ac5652274f37
Fixed
8f2efa742f4cfe7dd756154f8bc07350dbe3ec92
Fixed
fe7393a627db2d093e8c0cae69d619b30fefae5f
Fixed
fa5acd038ea657ad5033713d6916214cbd349151

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99133.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.2.0
Fixed
5.15.224
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.191
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.161
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.115
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.59
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.13

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99133.json"