s390/ctcm: Fix double-kfree
Key facts
- Attack vector
- Adjacent network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
In the Linux kernel, the following vulnerability has been resolved: s390/ctcm: Fix double-kfree The function 'mpc_rcvd_sweep_req(mpcginfo)' is called conditionally from function 'ctcmpc_unpack_skb'. It frees passed mpcginfo. After that a call to function 'kfree' in function 'ctcmpc_unpack_skb' frees it again. Remove 'kfree' call in function 'mpc_rcvd_sweep_req(mpcginfo)'. Bug detected by the clang static analyzer.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.4.195 to before 5.4.302; 5.10.117 to before 5.10.247; 5.15.41 to before 5.15.197; 4.9.315 to before 4.10; 4.14.280 to before 4.15; 4.19.244 to before 4.20; 5.17.9 to before 5.18 | 5.4.302, 5.10.247, 5.15.197, 4.10, 4.15, 4.20, 5.18 | Patch available | CNA |
| Linux | Linux | 5.18 and later | 5.4.302, 5.10.247, 5.15.197, 6.1.159, 6.6.118, 6.12.60, 6.17.10, 6.18 | Patch available | CNA |
- Linux VendorLinux Affected 5.4.195 to before 5.4.302; 5.10.117 to before 5.10.247; 5.15.41 to before 5.15.197; 4.9.315 to before 4.10; 4.14.280 to before 4.15; 4.19.244 to before 4.20; 5.17.9 to before 5.18 Fixed in 5.4.302, 5.10.247, 5.15.197, 4.10, 4.15, 4.20, 5.18 Patch available CNA
- Linux VendorLinux Affected 5.18 and later Fixed in 5.4.302, 5.10.247, 5.15.197, 6.1.159, 6.6.118, 6.12.60, 6.17.10, 6.18 Patch available CNA
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.4.302, 5.10.247, 5.15.197, 4.10, 4.15, 4.20, 5.18
- Fix · CNA Linux (Linux) Fixed in 5.4.302, 5.10.247, 5.15.197, 6.1.159, 6.6.118, 6.12.60, 6.17.10, 6.18
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
Not affected: 3 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2025-40253
- 2026-10-03 Alias added: GHSA-c7q5-6cjw-qjwq
- 2026-10-16 CISA SSVC decision points changed
- 2026-10-16 Priority changed: LOW → MEDIUM
References
Other 8
- https://git.kernel.org/stable/c/06f1dd1de0d33dbfbd2e1fc9fc57d8895f730de2
- https://git.kernel.org/stable/c/6bf8ccaabce8cebb6cb1f255c93d0acdfe95c17a
- https://git.kernel.org/stable/c/7616e2eee679746d526c7f5befd4eedb995935b5
- https://git.kernel.org/stable/c/43096dab8cc60fc39133205fd149a54d3acebea8
- https://git.kernel.org/stable/c/3b177b2ded563df16f6d5920671ffcfe5915d472
- https://git.kernel.org/stable/c/b9dbfb1b5699f9f1e4991f96741bdf9047147589
- https://git.kernel.org/stable/c/7ff76f8dc6b550f8d16487bf3cebc278be720b5c
- https://git.kernel.org/stable/c/da02a1824884d6c84c5e5b5ac373b0c9e3288ec2
More Linux vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2025-40253 · CVE Program
- CVE-2025-40253 · NVD
- FIRST EPSS
- GHSA-c7q5-6cjw-qjwq · GitHub Advisory Database · CC BY 4.0
- CVE-2025-40253 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences