{"api_version":"1","generated_at":"2026-07-23T11:14:23+00:00","cve":"CVE-2024-41016","urls":{"html":"https://cve.report/CVE-2024-41016","api":"https://cve.report/api/cve/CVE-2024-41016.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-41016","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-41016"},"summary":{"title":"ocfs2: strict bound check before memcmp in ocfs2_xattr_find_entry()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: strict bound check before memcmp in ocfs2_xattr_find_entry()\n\nxattr in ocfs2 maybe 'non-indexed', which saved with additional space\nrequested.  It's better to check if the memory is out of bound before\nmemcmp, although this possibility mainly comes from crafted poisonous\nimages.","state":"PUBLISHED","assigner":"Linux","published_at":"2024-07-29 07:15:06","updated_at":"2026-05-12 12:17:03"},"problem_types":["NVD-CWE-noinfo"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}}],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","name":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","name":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","refsource":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c726dea9d0c806d64c26fcef483b1fb9474d8c5e","name":"https://git.kernel.org/stable/c/c726dea9d0c806d64c26fcef483b1fb9474d8c5e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/57a3d89831fcaa2cdbe024b47c7c36d5a56c3637","name":"https://git.kernel.org/stable/c/57a3d89831fcaa2cdbe024b47c7c36d5a56c3637","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e2b3d7a9d019d4d1a0da6c3ea64a1ff79c99c090","name":"https://git.kernel.org/stable/c/e2b3d7a9d019d4d1a0da6c3ea64a1ff79c99c090","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e8f9c4af7af7e9e4cd09c0251c7936593147419f","name":"https://git.kernel.org/stable/c/e8f9c4af7af7e9e4cd09c0251c7936593147419f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c031d286eceb82f72f8623b7f4abd2aa491bfb5e","name":"https://git.kernel.org/stable/c/c031d286eceb82f72f8623b7f4abd2aa491bfb5e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/cfb926051fab19b10d1e65976211f364aa820180","name":"https://git.kernel.org/stable/c/cfb926051fab19b10d1e65976211f364aa820180","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e4ffea01adf3323c821b6f37e9577d2d400adbaa","name":"https://git.kernel.org/stable/c/e4ffea01adf3323c821b6f37e9577d2d400adbaa","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/af77c4fc1871847b528d58b7fdafb4aa1f6a9262","name":"https://git.kernel.org/stable/c/af77c4fc1871847b528d58b7fdafb4aa1f6a9262","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","name":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-41016","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41016","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected cf1d6c763fbcb115263114302485ad17e7933d87 e2b3d7a9d019d4d1a0da6c3ea64a1ff79c99c090 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected cf1d6c763fbcb115263114302485ad17e7933d87 e8f9c4af7af7e9e4cd09c0251c7936593147419f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected cf1d6c763fbcb115263114302485ad17e7933d87 57a3d89831fcaa2cdbe024b47c7c36d5a56c3637 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected cf1d6c763fbcb115263114302485ad17e7933d87 c031d286eceb82f72f8623b7f4abd2aa491bfb5e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected cf1d6c763fbcb115263114302485ad17e7933d87 cfb926051fab19b10d1e65976211f364aa820180 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected cf1d6c763fbcb115263114302485ad17e7933d87 c726dea9d0c806d64c26fcef483b1fb9474d8c5e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected cf1d6c763fbcb115263114302485ad17e7933d87 e4ffea01adf3323c821b6f37e9577d2d400adbaa git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected cf1d6c763fbcb115263114302485ad17e7933d87 af77c4fc1871847b528d58b7fdafb4aa1f6a9262 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.28","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.28 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.19.323 4.19.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.4.285 5.4.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.227 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.168 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.112 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.53 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.10.12 6.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.11 * original_commit_for_fix","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem","version":"affected * custom","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2024","cve_id":"41016","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2025-11-03T21:59:18.988Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/af77c4fc1871847b528d58b7fdafb4aa1f6a9262"},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"}],"title":"CVE Program Container"},{"metrics":[{"other":{"content":{"id":"CVE-2024-41016","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2024-09-10T16:24:43.120825Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2024-09-11T17:34:05.725Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"},{"affected":[{"defaultStatus":"unknown","product":"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem","vendor":"Siemens","versions":[{"lessThan":"*","status":"affected","version":"0","versionType":"custom"}]}],"providerMetadata":{"dateUpdated":"2026-05-12T11:56:13.855Z","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","shortName":"siemens-SADP"},"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html"}],"x_adpType":"supplier"}],"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/ocfs2/xattr.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"e2b3d7a9d019d4d1a0da6c3ea64a1ff79c99c090","status":"affected","version":"cf1d6c763fbcb115263114302485ad17e7933d87","versionType":"git"},{"lessThan":"e8f9c4af7af7e9e4cd09c0251c7936593147419f","status":"affected","version":"cf1d6c763fbcb115263114302485ad17e7933d87","versionType":"git"},{"lessThan":"57a3d89831fcaa2cdbe024b47c7c36d5a56c3637","status":"affected","version":"cf1d6c763fbcb115263114302485ad17e7933d87","versionType":"git"},{"lessThan":"c031d286eceb82f72f8623b7f4abd2aa491bfb5e","status":"affected","version":"cf1d6c763fbcb115263114302485ad17e7933d87","versionType":"git"},{"lessThan":"cfb926051fab19b10d1e65976211f364aa820180","status":"affected","version":"cf1d6c763fbcb115263114302485ad17e7933d87","versionType":"git"},{"lessThan":"c726dea9d0c806d64c26fcef483b1fb9474d8c5e","status":"affected","version":"cf1d6c763fbcb115263114302485ad17e7933d87","versionType":"git"},{"lessThan":"e4ffea01adf3323c821b6f37e9577d2d400adbaa","status":"affected","version":"cf1d6c763fbcb115263114302485ad17e7933d87","versionType":"git"},{"lessThan":"af77c4fc1871847b528d58b7fdafb4aa1f6a9262","status":"affected","version":"cf1d6c763fbcb115263114302485ad17e7933d87","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/ocfs2/xattr.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.28"},{"lessThan":"2.6.28","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"4.19.*","status":"unaffected","version":"4.19.323","versionType":"semver"},{"lessThanOrEqual":"5.4.*","status":"unaffected","version":"5.4.285","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.227","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.168","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.112","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.53","versionType":"semver"},{"lessThanOrEqual":"6.10.*","status":"unaffected","version":"6.10.12","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"6.11","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"4.19.323","versionStartIncluding":"2.6.28","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.4.285","versionStartIncluding":"2.6.28","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.227","versionStartIncluding":"2.6.28","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.168","versionStartIncluding":"2.6.28","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.112","versionStartIncluding":"2.6.28","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.53","versionStartIncluding":"2.6.28","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.10.12","versionStartIncluding":"2.6.28","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.11","versionStartIncluding":"2.6.28","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: strict bound check before memcmp in ocfs2_xattr_find_entry()\n\nxattr in ocfs2 maybe 'non-indexed', which saved with additional space\nrequested.  It's better to check if the memory is out of bound before\nmemcmp, although this possibility mainly comes from crafted poisonous\nimages."}],"providerMetadata":{"dateUpdated":"2026-05-11T20:24:32.412Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/e2b3d7a9d019d4d1a0da6c3ea64a1ff79c99c090"},{"url":"https://git.kernel.org/stable/c/e8f9c4af7af7e9e4cd09c0251c7936593147419f"},{"url":"https://git.kernel.org/stable/c/57a3d89831fcaa2cdbe024b47c7c36d5a56c3637"},{"url":"https://git.kernel.org/stable/c/c031d286eceb82f72f8623b7f4abd2aa491bfb5e"},{"url":"https://git.kernel.org/stable/c/cfb926051fab19b10d1e65976211f364aa820180"},{"url":"https://git.kernel.org/stable/c/c726dea9d0c806d64c26fcef483b1fb9474d8c5e"},{"url":"https://git.kernel.org/stable/c/e4ffea01adf3323c821b6f37e9577d2d400adbaa"},{"url":"https://git.kernel.org/stable/c/af77c4fc1871847b528d58b7fdafb4aa1f6a9262"}],"title":"ocfs2: strict bound check before memcmp in ocfs2_xattr_find_entry()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2024-41016","datePublished":"2024-07-29T06:37:02.530Z","dateReserved":"2024-07-12T12:17:45.612Z","dateUpdated":"2026-05-12T11:56:13.855Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2024-07-29 07:15:06","lastModifiedDate":"2026-05-12 12:17:03","problem_types":["NVD-CWE-noinfo"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"4.19.323","matchCriteriaId":"3BC77309-A76B-49EF-A846-844D824E3586"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"5.4.285","matchCriteriaId":"B5A89369-320F-47FC-8695-56F61F87E4C0"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.10.227","matchCriteriaId":"795A3EE6-0CAB-4409-A903-151C94ACECC0"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.15.168","matchCriteriaId":"4D51C05D-455B-4D8D-89E7-A58E140B864C"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.1.112","matchCriteriaId":"1C1227B7-CF55-4728-857F-966F83ACD8B5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.6.53","matchCriteriaId":"007075FA-C231-42B1-A525-B87CEA313C63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.10.12","matchCriteriaId":"42054751-2A4F-4982-ADE9-A8251AD9A7BC"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2024","CveId":"41016","Ordinal":"1","Title":"ocfs2: strict bound check before memcmp in ocfs2_xattr_find_entr","CVE":"CVE-2024-41016","Year":"2024"},"notes":[{"CveYear":"2024","CveId":"41016","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: strict bound check before memcmp in ocfs2_xattr_find_entry()\n\nxattr in ocfs2 maybe 'non-indexed', which saved with additional space\nrequested.  It's better to check if the memory is out of bound before\nmemcmp, although this possibility mainly comes from crafted poisonous\nimages.","Type":"Description","Title":"ocfs2: strict bound check before memcmp in ocfs2_xattr_find_entr"}]}}}