CVE-2024-50119

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-50119
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50119.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-50119
Downstream
Related
Published
2024-11-05T17:10:49Z
Modified
2025-10-22T04:15:42.867045Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
cifs: fix warning when destroy 'cifs_io_request_pool'
Details

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

cifs: fix warning when destroy 'cifsiorequest_pool'

There's a issue as follows: WARNING: CPU: 1 PID: 27826 at mm/slub.c:4698 freelargekmalloc+0xac/0xe0 RIP: 0010:freelargekmalloc+0xac/0xe0 Call Trace: <TASK> ? _warn+0xea/0x330 mempooldestroy+0x13f/0x1d0 initcifs+0xa50/0xff0 [cifs] dooneinitcall+0xdc/0x550 doinitmodule+0x22d/0x6b0 loadmodule+0x4e96/0x5ff0 initmodulefromfile+0xcd/0x130 idempotentinitmodule+0x330/0x620 _x64sysfinitmodule+0xb3/0x110 dosyscall64+0xc1/0x1d0 entrySYSCALL64after_hwframe+0x77/0x7f

Obviously, 'cifsiorequestpool' is not created by mempoolcreate(). So just use mempoolexit() to revert 'cifsiorequestpool'.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
edea94a69730b74a8867bbafe742c3fc4e580722
Fixed
726416a253c51037636ecc65ad3dada3d02dcaea
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
edea94a69730b74a8867bbafe742c3fc4e580722
Fixed
2ce1007f42b8a6a0814386cb056feb28dc6d6091

Affected versions

v6.*

v6.10
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.11
v6.11-rc1
v6.11-rc2
v6.11-rc3
v6.11-rc4
v6.11-rc5
v6.11-rc6
v6.11-rc7
v6.11.1
v6.11.2
v6.11.3
v6.11.4
v6.11.5
v6.12-rc1
v6.12-rc2
v6.12-rc3
v6.12-rc4
v6.9
v6.9-rc7

Database specific

vanir_signatures

[
    {
        "id": "CVE-2024-50119-5f03eb8b",
        "signature_type": "Line",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "295114157554940612849559702806931138749",
                "165835174670500917315909226756391178329",
                "133005890280656905030394338881196630034",
                "181165121584874961445026474502199764861"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "fs/smb/client/cifsfs.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@726416a253c51037636ecc65ad3dada3d02dcaea",
        "deprecated": false
    },
    {
        "id": "CVE-2024-50119-dc040930",
        "signature_type": "Line",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "295114157554940612849559702806931138749",
                "165835174670500917315909226756391178329",
                "133005890280656905030394338881196630034",
                "181165121584874961445026474502199764861"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "fs/smb/client/cifsfs.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2ce1007f42b8a6a0814386cb056feb28dc6d6091",
        "deprecated": false
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.10.0
Fixed
6.11.6