# CVE-2024-27054: s390/dasd: fix double module refcount decrement

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 21% of CVEs (2026-12-01)
- Published: 2024-05-01T12:54:49.441Z
- Modified: 2026-06-17T07:19:03.840Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

s390/dasd: fix double module refcount decrement

Once the discipline is associated with the device, deleting the device
takes care of decrementing the module's refcount.  Doing it manually on
this error path causes refcount to artificially decrease on each error
while it should just stay the same.

(As written by CVE List.)

## Affected

- Linux Linux: from c020d722b110a44c613ef71e657e6dd4116e09d9 before 9fe0562179d8fa960afca0eaed6d4ba4122a3cc6; from c020d722b110a44c613ef71e657e6dd4116e09d9 before edbdb0d94143db46edd373cc93e433832d29fe19; from c020d722b110a44c613ef71e657e6dd4116e09d9 before ad999aa18103fa038787b6a8a55020abcf34df1a; from c020d722b110a44c613ef71e657e6dd4116e09d9 before ec09bcab32fc4765e0cc97e1b72cdd067135f37e; from c020d722b110a44c613ef71e657e6dd4116e09d9 before fa18aa507ea71d8914b6acb2c94db311c757c650; from c020d722b110a44c613ef71e657e6dd4116e09d9 before ebc5a3bd79e54f98c885c26f0862a27a02c487c5; from c020d722b110a44c613ef71e657e6dd4116e09d9 before c3116e62ddeff79cae342147753ce596f01fcf06; 4.9 (not affected: before 4.9; from 5.10.237 up to 5.10.*; from 5.15.153 up to 5.15.*; from 6.1.83 up to 6.1.*; from 6.6.23 up to 6.6.*; from 6.7.11 up to 6.7.*; from 6.8.2 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 4.9 before 5.15.153; from 5.16 before 6.1.83; from 6.2 before 6.6.23; from 6.7 before 6.7.11; from 6.8 before 6.8.2

## References

- <https://git.kernel.org/stable/c/9fe0562179d8fa960afca0eaed6d4ba4122a3cc6>
- <https://git.kernel.org/stable/c/edbdb0d94143db46edd373cc93e433832d29fe19> (patch)
- <https://git.kernel.org/stable/c/ad999aa18103fa038787b6a8a55020abcf34df1a> (patch)
- <https://git.kernel.org/stable/c/ec09bcab32fc4765e0cc97e1b72cdd067135f37e> (patch)
- <https://git.kernel.org/stable/c/fa18aa507ea71d8914b6acb2c94db311c757c650> (patch)
- <https://git.kernel.org/stable/c/ebc5a3bd79e54f98c885c26f0862a27a02c487c5> (patch)
- <https://git.kernel.org/stable/c/c3116e62ddeff79cae342147753ce596f01fcf06> (patch)

## Sources

- CVE List: [CVE-2024-27054](https://www.cve.org/CVERecord?id=CVE-2024-27054), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-27054](https://nvd.nist.gov/vuln/detail/CVE-2024-27054), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-27054 · Whole record: https://cve.day/CVE-2024-27054.json · Rebuilt by cve.day 2026-11-25T22:58:39.800Z
