Review reviewHigh

CVE-2024-42271

Linux Linux, linux kernel

In the Linux kernel, the following vulnerability has been resolved: net/iucv: fix use after free in iucv_sock_close() iucv_sever_path() is called from process context and from bh context. iucv->path is used as indicator whether somebody else is taking care of severing the path (or it is already removed / never existed). This needs to be done with atomic compare and swap, otherwise there is a small window where iucv_sock_close() will try to work with a path that has already been severed and freed by iucv_callback_connrej() called by iucv_tasklet_fn(). Example: [452744.123844] Call Trace: [45...

CVSS
7.8
EPSS
0.24%
14.5% percentile
CISA KEV
Not listed
Published
2024.08.17
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.24%
Technical severityCVSS 7.8

Vulnerability overview

In the Linux kernel, the following vulnerability has been resolved: net/iucv: fix use after free in iucv_sock_close() iucv_sever_path() is called from process context and from bh context. iucv->path is used as indicator whether somebody else is taking care of severing the path (or it is already removed / never existed). This needs to be done with atomic compare and swap, otherwise there is a small window where iucv_sock_close() will try to work with a path that has already been severed and freed by iucv_callback_connrej() called by iucv_tasklet_fn(). Example: [452744.123844] Call Trace: [45...

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 7d316b9453523498246e9e19a659c423d4c5081e < 84f40b46787ecb67c7ad08a5bb1376141fa10c01, >= 7d316b9453523498246e9e19a659c423d4c5081e < 37652fbef9809411cea55ea5fa1a170e299efcd0, >= 7d316b9453523498246e9e19a659c423d4c5081e < c65f72eec60a34ace031426e04e9aff8e5f04895, >= 7d316b9453523498246e9e19a659c423d4c5081e < ac758e1f663fe9bc64f6b47212a2aa18697524f5, >= 7d316b9453523498246e9e19a659c423d4c5081e < 8b424c9e44111c5a76f41c6b741f8d4c4179d876, >= 7d316b9453523498246e9e19a659c423d4c5081e < 01437282fd3904810603f3dc98d2cac6b8b6fc84, >= 7d316b9453523498246e9e19a659c423d4c5081e < 69620522c48ce8215e5eb55ffbab8cafee8f407d, >= 7d316b9453523498246e9e19a659c423d4c5081e < f558120cd709682b739207b48cf7479fd9568431, >= 3.4, >= 3.4 < 4.19.320, >= 4.20 < 5.4.282, >= 5.5 < 5.10.224, >= 5.11 < 5.15.165, >= 5.16 < 6.1.104, >= 6.2 < 6.6.45, >= 6.7 < 6.10.4, 6.11
Fixed versions
4.19.320, 5.4.282, 5.10.224, 5.15.165, 6.1.104, 6.6.45, 6.10.4

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-416
CVE-2024-42271 — Linux Linux, linux kernel | SECUFOCUS NOW