# CVE-2024-53210: s390/iucv: MSG\_PEEK causes memory leak in iucv\_sock\_destruct()

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; 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.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2024-12-27T13:49:56.183Z
- **Modified:** 2026-06-17T08:08:36.007Z

## Who should check

- Anyone running Linux \>= eac3731bd04c7131478722a3c148b78774553116, \< 934326aef7ac4652f81c69d18bf44eebaefc39c3; \>= eac3731bd04c7131478722a3c148b78774553116, \< 42251c2d1ef1cb0822638bebb87ad9120c759673; \>= eac3731bd04c7131478722a3c148b78774553116, \< 783c2c6e61c5a04eb8baea598753d5fa174dbe85; \>= eac3731bd04c7131478722a3c148b78774553116, \< 9f603e66e1c59c1d25e60eb0636cb307d190782e; \>= eac3731bd04c7131478722a3c148b78774553116, \< ebaf81317e42aa990ad20b113cfe3a7b20d4e937
- Anyone running Linux 2.6.21

## Description

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

s390/iucv: MSG\_PEEK causes memory leak in iucv\_sock\_destruct()

Passing MSG\_PEEK flag to skb\_recv\_datagram() increments skb refcount
(skb-\>users) and iucv\_sock\_recvmsg() does not decrement skb refcount
at exit.
This results in skb memory leak in skb\_queue\_purge() and WARN\_ON in
iucv\_sock\_destruct() during socket close. To fix this decrease
skb refcount by one if MSG\_PEEK is set in order to prevent memory
leak and WARN\_ON.

WARNING: CPU: 2 PID: 6292 at net/iucv/af\_iucv.c:286 iucv\_sock\_destruct+0x144/0x1a0 \[af\_iucv\]
CPU: 2 PID: 6292 Comm: afiucv\_test\_msg Kdump: loaded Tainted: G        W          6.10.0-rc7 \#1
Hardware name: IBM 3931 A01 704 (z/VM 7.3.0)
Call Trace:
        \[\<001587c682c4aa98\>\] iucv\_sock\_destruct+0x148/0x1a0 \[af\_iucv\]
        \[\<001587c682c4a9d0\>\] iucv\_sock\_destruct+0x80/0x1a0 \[af\_iucv\]
        \[\<001587c704117a32\>\] \_\_sk\_destruct+0x52/0x550
        \[\<001587c704104a54\>\] \_\_sock\_release+0xa4/0x230
        \[\<001587c704104c0c\>\] sock\_close+0x2c/0x40
        \[\<001587c702c5f5a8\>\] \_\_fput+0x2e8/0x970
        \[\<001587c7024148c4\>\] task\_work\_run+0x1c4/0x2c0
        \[\<001587c7023b0716\>\] do\_exit+0x996/0x1050
        \[\<001587c7023b13aa\>\] do\_group\_exit+0x13a/0x360
        \[\<001587c7023b1626\>\] \_\_s390x\_sys\_exit\_group+0x56/0x60
        \[\<001587c7022bccca\>\] do\_syscall+0x27a/0x380
        \[\<001587c7049a6a0c\>\] \_\_do\_syscall+0x9c/0x160
        \[\<001587c7049ce8a8\>\] system\_call+0x70/0x98
        Last Breaking-Event-Address:
        \[\<001587c682c4a9d4\>\] iucv\_sock\_destruct+0x84/0x1a0 \[af\_iucv\]

## Affected and fixed versions

- Linux: \>= eac3731bd04c7131478722a3c148b78774553116, \< 934326aef7ac4652f81c69d18bf44eebaefc39c3; \>= eac3731bd04c7131478722a3c148b78774553116, \< 42251c2d1ef1cb0822638bebb87ad9120c759673; \>= eac3731bd04c7131478722a3c148b78774553116, \< 783c2c6e61c5a04eb8baea598753d5fa174dbe85; \>= eac3731bd04c7131478722a3c148b78774553116, \< 9f603e66e1c59c1d25e60eb0636cb307d190782e; \>= eac3731bd04c7131478722a3c148b78774553116, \< ebaf81317e42aa990ad20b113cfe3a7b20d4e937 (cvelist)
- Linux: 2.6.21 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-53210.md
Affected: Linux >= eac3731bd04c7131478722a3c148b78774553116, < 934326aef7ac4652f81c69d18bf44eebaefc39c3; >= eac3731bd04c7131478722a3c148b78774553116, < 42251c2d1ef1cb0822638bebb87ad9120c759673; >= eac3731bd04c7131478722a3c148b78774553116, < 783c2c6e61c5a04eb8baea598753d5fa174dbe85; >= eac3731bd04c7131478722a…
Fixed in: Linux 934326aef7ac4652f81c69d18bf44eebaefc39c3, Linux 42251c2d1ef1cb0822638bebb87ad9120c759673, Linux 783c2c6e61c5a04eb8baea598753d5fa174dbe85, Linux 9f603e66e1c59c1d25e60eb0636cb307d190782e

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-2024-53210 being exploited?

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

### How serious is CVE-2024-53210?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-53210?

Linux \>= eac3731bd04c7131478722a3c148b78774553116, \< 934326aef7ac4652f81c69d18bf44eebaefc39c3; \>= eac3731bd04c7131478722a3c148b78774553116, \< 42251c2d1ef1cb0822638bebb87ad9120c759673; \>= eac3731bd04c7131478722a3c148b78774553116, \< 783c2c6e61c5a04eb8baea598753d5fa174dbe85; \>= eac3731bd04c7131478722a3c148b78774553116, \< 9f603e66e1c59c1d25e60eb0636cb307d190782e; \>= eac3731bd04c7131478722a3c148b78774553116, \< ebaf81317e42aa990ad20b113cfe3a7b20d4e937; Linux 2.6.21.

### Is there a fix for CVE-2024-53210?

Yes. Fixed in Linux 934326aef7ac4652f81c69d18bf44eebaefc39c3, Linux 42251c2d1ef1cb0822638bebb87ad9120c759673, Linux 783c2c6e61c5a04eb8baea598753d5fa174dbe85, Linux 9f603e66e1c59c1d25e60eb0636cb307d190782e. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-53210?

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/934326aef7ac4652f81c69d18bf44eebaefc39c3>
- patch: <https://git.kernel.org/stable/c/42251c2d1ef1cb0822638bebb87ad9120c759673>
- patch: <https://git.kernel.org/stable/c/783c2c6e61c5a04eb8baea598753d5fa174dbe85>
- patch: <https://git.kernel.org/stable/c/9f603e66e1c59c1d25e60eb0636cb307d190782e>
- patch: <https://git.kernel.org/stable/c/ebaf81317e42aa990ad20b113cfe3a7b20d4e937>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>

## 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-2024-53210>

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