CVE-2024-47677

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-47677
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-47677.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-47677
Downstream
Related
Published
2024-10-21T11:53:21Z
Modified
2025-10-14T23:40:11.831124Z
Summary
exfat: resolve memory leak from exfat_create_upcase_table()
Details

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

exfat: resolve memory leak from exfatcreateupcase_table()

If exfatloadupcasetable reaches end and returns -EINVAL, allocated memory doesn't get freed and while exfatloaddefaultupcase_table allocates more memory, leading to a memory leak.

Here's link to syzkaller crash report illustrating this issue: https://syzkaller.appspot.com/text?tag=CrashReport&x=1406c201980000

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
a13d1a4de3b0fe3c41d818697d691c886c5585fa
Fixed
f9835aec49670c46ebe2973032caaa1043b3d4da
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a13d1a4de3b0fe3c41d818697d691c886c5585fa
Fixed
331ed2c739ce656a67865f6b3ee0a478349d78cb
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a13d1a4de3b0fe3c41d818697d691c886c5585fa
Fixed
c290fe508eee36df1640c3cb35dc8f89e073c8a8

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.10.1
v6.10.10
v6.10.11
v6.10.12
v6.10.2
v6.10.3
v6.10.4
v6.10.5
v6.10.6
v6.10.7
v6.10.8
v6.10.9
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.8
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.9
v6.9-rc1
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7

Database specific

{
    "vanir_signatures": [
        {
            "target": {
                "file": "fs/exfat/nls.c"
            },
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "89722590051140121782478850204826708517",
                    "67929797535751086389390525150925824213",
                    "228471315404795986895323845841852237464",
                    "187134190619959684553257749738286139251",
                    "263977938238783006607529835595286136881"
                ]
            },
            "signature_version": "v1",
            "id": "CVE-2024-47677-21ac018d",
            "deprecated": false,
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f9835aec49670c46ebe2973032caaa1043b3d4da",
            "signature_type": "Line"
        },
        {
            "target": {
                "file": "fs/exfat/nls.c",
                "function": "exfat_create_upcase_table"
            },
            "digest": {
                "length": 1073.0,
                "function_hash": "175794721405692734119429629024286186"
            },
            "signature_version": "v1",
            "id": "CVE-2024-47677-331443fb",
            "deprecated": false,
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f9835aec49670c46ebe2973032caaa1043b3d4da",
            "signature_type": "Function"
        },
        {
            "target": {
                "file": "fs/exfat/nls.c",
                "function": "exfat_create_upcase_table"
            },
            "digest": {
                "length": 1073.0,
                "function_hash": "175794721405692734119429629024286186"
            },
            "signature_version": "v1",
            "id": "CVE-2024-47677-51372812",
            "deprecated": false,
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@331ed2c739ce656a67865f6b3ee0a478349d78cb",
            "signature_type": "Function"
        },
        {
            "target": {
                "file": "fs/exfat/nls.c"
            },
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "89722590051140121782478850204826708517",
                    "67929797535751086389390525150925824213",
                    "228471315404795986895323845841852237464",
                    "187134190619959684553257749738286139251",
                    "263977938238783006607529835595286136881"
                ]
            },
            "signature_version": "v1",
            "id": "CVE-2024-47677-773e981a",
            "deprecated": false,
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c290fe508eee36df1640c3cb35dc8f89e073c8a8",
            "signature_type": "Line"
        },
        {
            "target": {
                "file": "fs/exfat/nls.c"
            },
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "89722590051140121782478850204826708517",
                    "67929797535751086389390525150925824213",
                    "228471315404795986895323845841852237464",
                    "187134190619959684553257749738286139251",
                    "263977938238783006607529835595286136881"
                ]
            },
            "signature_version": "v1",
            "id": "CVE-2024-47677-7b0e464f",
            "deprecated": false,
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@331ed2c739ce656a67865f6b3ee0a478349d78cb",
            "signature_type": "Line"
        },
        {
            "target": {
                "file": "fs/exfat/nls.c",
                "function": "exfat_create_upcase_table"
            },
            "digest": {
                "length": 1073.0,
                "function_hash": "175794721405692734119429629024286186"
            },
            "signature_version": "v1",
            "id": "CVE-2024-47677-fd68effc",
            "deprecated": false,
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c290fe508eee36df1640c3cb35dc8f89e073c8a8",
            "signature_type": "Function"
        }
    ]
}

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.8.0
Fixed
6.10.13
Type
ECOSYSTEM
Events
Introduced
6.11.0
Fixed
6.11.2