nilfs2: protect references to superblock parameters exposed in sysfs
In the Linux kernel, the following vulnerability has been resolved: nilfs2: protect references to superblock parameters exposed in sysfs The superblock buffers of nilfs2 can not only be overwritten at runtime for modifications/repairs, but they are also regularly swapped, replaced during resizing, and even abandoned when degrading to one side due to backing device issues. So, accessing them requires mutual exclusion using the reader/writer semaphore "nilfs->ns_sem". Some sysfs attribute show methods read this superblock buffer without the necessary mutual exclusion, which can cause problems with pointer dereferencing and memory access, so fix it.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 4.19.322, 5.10.226, 5.15.167, 5.4.284, 6.1.110, 6.10.10, 6.6.51
- CVEs
- CVE-2024-46780
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 00:43 UTC · Revision 1
Source evidence
nilfs2: protect references to superblock parameters exposed in sysfs
core-osv · Original sourcePublished 18 Sept 2024, 07:12 UTC
In the Linux kernel, the following vulnerability has been resolved: nilfs2: protect references to superblock parameters exposed in sysfs The superblock buffers of nilfs2 can not only be overwritten at runtime for modifications/repairs, but they are also regularly swapped, replaced during resizing, and even abandoned when degrading to one side due to backing device issues. So, accessing them requires mutual exclusion using the reader/writer semaphore "nilfs->ns_sem". Some sysfs attribute show methods read this superblock buffer without the necessary mutual exclusion, which can cause problems with pointer dereferencing and memory access, so fix it.
osv:CVE-2024-46780
Kernel
Fixed versions: 4.19.322, 5.4.284, 5.10.226, 5.15.167, 6.1.110, 6.6.51, 6.10.10
Complete source record
{
"id": "bf61b5ab78b66cdeda1b50748eab89888fb614054a515e03c58c94d220a0f252",
"url": "https://osv.dev/vulnerability/CVE-2024-46780",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "nilfs2: protect references to superblock parameters exposed in sysfs",
"summary": "In the Linux kernel, the following vulnerability has been resolved: nilfs2: protect references to superblock parameters exposed in sysfs The superblock buffers of nilfs2 can not only be overwritten at runtime for modifications/repairs, but they are also regularly swapped, replaced during resizing, and even abandoned when degrading to one side due to backing device issues. So, accessing them requires mutual exclusion using the reader/writer semaphore \"nilfs->ns_sem\". Some sysfs attribute show methods read this superblock buffer without the necessary mutual exclusion, which can cause problems with pointer dereferencing and memory access, so fix it.",
"evidence": "osv:CVE-2024-46780",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.19.322",
"evidence": "/affected/1/ranges"
},
{
"value": "5.4.284",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.226",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.167",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.110",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.51",
"evidence": "/affected/1/ranges"
},
{
"value": "6.10.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2024-46780",
"aliases": [
"CVE-2024-46780"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "da7141fb78db915680616e15677539fc8140cf53"
},
{
"fixed": "b90beafac05931cbfcb6b1bd4f67c1923f47040e"
},
{
"fixed": "ba97ba173f9625d5f34a986088979eae8b80d38e"
},
{
"fixed": "157c0d94b4c40887329418c70ef4edd1a8d6b4ed"
},
{
"fixed": "b14e7260bb691d7f563f61da07d61e3c8b59a614"
},
{
"fixed": "19cfeba0e4b8eda51484fcf8cf7d150418e1d880"
},
{
"fixed": "8c6e43b3d5f109cf9c61bc188fcc8175404e924f"
},
{
"fixed": "962562d4c70c5cdeb4e955d63ff2017c4eca1aad"
},
{
"fixed": "683408258917541bdb294cd717c210a04381931e"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46780.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.17.0"
},
{
"fixed": "4.19.322"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.20.0"
},
{
"fixed": "5.4.284"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.226"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.167"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.110"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.51"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.10.10"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46780.json"
}
}
],
"modified": "2026-10-28T02:30:52.519312671Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/157c0d94b4c40887329418c70ef4edd1a8d6b4ed",
"https://git.kernel.org/stable/c/19cfeba0e4b8eda51484fcf8cf7d150418e1d880",
"https://git.kernel.org/stable/c/683408258917541bdb294cd717c210a04381931e",
"https://git.kernel.org/stable/c/8c6e43b3d5f109cf9c61bc188fcc8175404e924f",
"https://git.kernel.org/stable/c/962562d4c70c5cdeb4e955d63ff2017c4eca1aad",
"https://git.kernel.org/stable/c/b14e7260bb691d7f563f61da07d61e3c8b59a614",
"https://git.kernel.org/stable/c/b90beafac05931cbfcb6b1bd4f67c1923f47040e",
"https://git.kernel.org/stable/c/ba97ba173f9625d5f34a986088979eae8b80d38e",
"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html",
"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46780.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-46780",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46780.json"
}
},
"related_cves": [
{
"value": "CVE-2024-46780",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 521061,
"published_at": "2024-09-18T07:12:36.736+00:00"
}