CVE-2026-99133

net/iucv: fix the recvmsg window update

State
Published
Severity
Not scored
Published
Oct 28, 2026
Updated
Oct 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3881ac441f642d56503818123446f7298442236b to before 01123990f59ce32a1a5e690a4aeee002e932bb07Affected
  • 3881ac441f642d56503818123446f7298442236b to before 1ebe68bbf8e75eeccaca0c7bc9694f5bc0c3f00aAffected
  • 3881ac441f642d56503818123446f7298442236b to before 23e7fbbdca5aaba2a9a7bb9e4f2dc179c290ee76Affected
  • 3881ac441f642d56503818123446f7298442236b to before ce8aac3eb57f5366fa082b7cb8a1ac5652274f37Affected
  • 3881ac441f642d56503818123446f7298442236b to before 8f2efa742f4cfe7dd756154f8bc07350dbe3ec92Affected
  • 3881ac441f642d56503818123446f7298442236b to before fe7393a627db2d093e8c0cae69d619b30fefae5fAffected
  • 3881ac441f642d56503818123446f7298442236b to before fa5acd038ea657ad5033713d6916214cbd349151Affected
LinuxLinux
  • 3.2Affected
  • before 3.2Not affected
  • 5.15.224 through 5.15.*Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.161 through 6.6.*Not affected
  • 6.12.115 through 6.12.*Not affected
  • 6.18.59 through 6.18.*Not affected
  • 7.2.13 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.