{"api_version":"1","generated_at":"2026-07-23T14:32:20+00:00","cve":"CVE-2024-49996","urls":{"html":"https://cve.report/CVE-2024-49996","api":"https://cve.report/api/cve/CVE-2024-49996.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-49996","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-49996"},"summary":{"title":"cifs: Fix buffer overflow when parsing NFS reparse points","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: Fix buffer overflow when parsing NFS reparse points\n\nReparseDataLength is sum of the InodeType size and DataBuffer size.\nSo to get DataBuffer size it is needed to subtract InodeType's size from\nReparseDataLength.\n\nFunction cifs_strndup_from_utf16() is currentlly accessing buf->DataBuffer\nat position after the end of the buffer because it does not subtract\nInodeType size from the length. Fix this problem and correctly subtract\nvariable len.\n\nMember InodeType is present only when reparse buffer is large enough. Check\nfor ReparseDataLength before accessing InodeType to prevent another invalid\nmemory access.\n\nMajor and minor rdev values are present also only when reparse buffer is\nlarge enough. Check for reparse buffer size before calling reparse_mkdev().","state":"PUBLISHED","assigner":"Linux","published_at":"2024-10-21 18:15:19","updated_at":"2026-06-15 18:24:00"},"problem_types":["CWE-120"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","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":["Mailing List","Third Party Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7b222d6cb87077faf56a687a72af1951cf78c8a9","name":"https://git.kernel.org/stable/c/7b222d6cb87077faf56a687a72af1951cf78c8a9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e2a8910af01653c1c268984855629d71fb81f404","name":"https://git.kernel.org/stable/c/e2a8910af01653c1c268984855629d71fb81f404","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c173d47b69f07cd7ca08efb4e458adbd4725d8e9","name":"https://git.kernel.org/stable/c/c173d47b69f07cd7ca08efb4e458adbd4725d8e9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","name":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ec79e6170bcae8a6036a4b6960f5e7e59a785601","name":"https://git.kernel.org/stable/c/ec79e6170bcae8a6036a4b6960f5e7e59a785601","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/803b3a39cb096d8718c0aebc03fd19f11c7dc919","name":"https://git.kernel.org/stable/c/803b3a39cb096d8718c0aebc03fd19f11c7dc919","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c6db81c550cea0c73bd72ef55f579991e0e4ba07","name":"https://git.kernel.org/stable/c/c6db81c550cea0c73bd72ef55f579991e0e4ba07","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/01cdddde39b065074fd48f07027757783cbf5b7d","name":"https://git.kernel.org/stable/c/01cdddde39b065074fd48f07027757783cbf5b7d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/73b078e3314d4854fd8286f3ba65c860ddd3a3dd","name":"https://git.kernel.org/stable/c/73b078e3314d4854fd8286f3ba65c860ddd3a3dd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-49996","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49996","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d5ecebc4900df7f6e8dff0717574668885110553 7b222d6cb87077faf56a687a72af1951cf78c8a9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d5ecebc4900df7f6e8dff0717574668885110553 73b078e3314d4854fd8286f3ba65c860ddd3a3dd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d5ecebc4900df7f6e8dff0717574668885110553 01cdddde39b065074fd48f07027757783cbf5b7d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d5ecebc4900df7f6e8dff0717574668885110553 ec79e6170bcae8a6036a4b6960f5e7e59a785601 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d5ecebc4900df7f6e8dff0717574668885110553 c6db81c550cea0c73bd72ef55f579991e0e4ba07 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d5ecebc4900df7f6e8dff0717574668885110553 803b3a39cb096d8718c0aebc03fd19f11c7dc919 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d5ecebc4900df7f6e8dff0717574668885110553 c173d47b69f07cd7ca08efb4e458adbd4725d8e9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d5ecebc4900df7f6e8dff0717574668885110553 e2a8910af01653c1c268984855629d71fb81f404 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.3","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.3 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.4.287 5.4.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.231 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.174 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.120 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.55 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.10.14 6.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.11.3 6.11.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2024","cve_id":"49996","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"11.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2024","cve_id":"49996","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":[{"metrics":[{"other":{"content":{"id":"CVE-2024-49996","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2024-10-22T13:30:36.265660Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2024-10-22T13:38:41.853Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"},{"providerMetadata":{"dateUpdated":"2025-11-03T20:42:50.666Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"}],"title":"CVE Program Container"}],"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/smb/client/reparse.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"7b222d6cb87077faf56a687a72af1951cf78c8a9","status":"affected","version":"d5ecebc4900df7f6e8dff0717574668885110553","versionType":"git"},{"lessThan":"73b078e3314d4854fd8286f3ba65c860ddd3a3dd","status":"affected","version":"d5ecebc4900df7f6e8dff0717574668885110553","versionType":"git"},{"lessThan":"01cdddde39b065074fd48f07027757783cbf5b7d","status":"affected","version":"d5ecebc4900df7f6e8dff0717574668885110553","versionType":"git"},{"lessThan":"ec79e6170bcae8a6036a4b6960f5e7e59a785601","status":"affected","version":"d5ecebc4900df7f6e8dff0717574668885110553","versionType":"git"},{"lessThan":"c6db81c550cea0c73bd72ef55f579991e0e4ba07","status":"affected","version":"d5ecebc4900df7f6e8dff0717574668885110553","versionType":"git"},{"lessThan":"803b3a39cb096d8718c0aebc03fd19f11c7dc919","status":"affected","version":"d5ecebc4900df7f6e8dff0717574668885110553","versionType":"git"},{"lessThan":"c173d47b69f07cd7ca08efb4e458adbd4725d8e9","status":"affected","version":"d5ecebc4900df7f6e8dff0717574668885110553","versionType":"git"},{"lessThan":"e2a8910af01653c1c268984855629d71fb81f404","status":"affected","version":"d5ecebc4900df7f6e8dff0717574668885110553","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/smb/client/reparse.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.3"},{"lessThan":"5.3","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.4.*","status":"unaffected","version":"5.4.287","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.231","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.174","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.120","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.55","versionType":"semver"},{"lessThanOrEqual":"6.10.*","status":"unaffected","version":"6.10.14","versionType":"semver"},{"lessThanOrEqual":"6.11.*","status":"unaffected","version":"6.11.3","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"6.12","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.4.287","versionStartIncluding":"5.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.231","versionStartIncluding":"5.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.174","versionStartIncluding":"5.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.120","versionStartIncluding":"5.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.55","versionStartIncluding":"5.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.10.14","versionStartIncluding":"5.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.11.3","versionStartIncluding":"5.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12","versionStartIncluding":"5.3","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: Fix buffer overflow when parsing NFS reparse points\n\nReparseDataLength is sum of the InodeType size and DataBuffer size.\nSo to get DataBuffer size it is needed to subtract InodeType's size from\nReparseDataLength.\n\nFunction cifs_strndup_from_utf16() is currentlly accessing buf->DataBuffer\nat position after the end of the buffer because it does not subtract\nInodeType size from the length. Fix this problem and correctly subtract\nvariable len.\n\nMember InodeType is present only when reparse buffer is large enough. Check\nfor ReparseDataLength before accessing InodeType to prevent another invalid\nmemory access.\n\nMajor and minor rdev values are present also only when reparse buffer is\nlarge enough. Check for reparse buffer size before calling reparse_mkdev()."}],"providerMetadata":{"dateUpdated":"2026-05-11T20:43:31.483Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/7b222d6cb87077faf56a687a72af1951cf78c8a9"},{"url":"https://git.kernel.org/stable/c/73b078e3314d4854fd8286f3ba65c860ddd3a3dd"},{"url":"https://git.kernel.org/stable/c/01cdddde39b065074fd48f07027757783cbf5b7d"},{"url":"https://git.kernel.org/stable/c/ec79e6170bcae8a6036a4b6960f5e7e59a785601"},{"url":"https://git.kernel.org/stable/c/c6db81c550cea0c73bd72ef55f579991e0e4ba07"},{"url":"https://git.kernel.org/stable/c/803b3a39cb096d8718c0aebc03fd19f11c7dc919"},{"url":"https://git.kernel.org/stable/c/c173d47b69f07cd7ca08efb4e458adbd4725d8e9"},{"url":"https://git.kernel.org/stable/c/e2a8910af01653c1c268984855629d71fb81f404"}],"title":"cifs: Fix buffer overflow when parsing NFS reparse points","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2024-49996","datePublished":"2024-10-21T18:02:37.046Z","dateReserved":"2024-10-21T12:17:06.056Z","dateUpdated":"2026-05-11T20:43:31.483Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2024-10-21 18:15:19","lastModifiedDate":"2026-06-15 18:24:00","problem_types":["CWE-120"],"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:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","matchCriteriaId":"FA6FEEC2-9F11-4643-8827-749718254FED"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"5.4.287","matchCriteriaId":"A7B0EBE3-11AF-4530-A474-742ABBCB1618"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.10.231","matchCriteriaId":"B5C644CC-2BD7-4E32-BC54-8DCC7ABE9935"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.15.174","matchCriteriaId":"419FD073-1517-4FD5-8158-F94BC68A1E89"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.1.120","matchCriteriaId":"09AC6122-E2A4-40FE-9D33-268A1B2EC265"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.6.55","matchCriteriaId":"E90B9576-56C4-47BC-AAB0-C5B2D438F5D0"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.10.14","matchCriteriaId":"4C16BCE0-FFA0-4599-BE0A-1FD65101C021"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.11.3","matchCriteriaId":"54D9C704-D679-41A7-9C40-10A6B1E7FFE9"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2024","CveId":"49996","Ordinal":"1","Title":"cifs: Fix buffer overflow when parsing NFS reparse points","CVE":"CVE-2024-49996","Year":"2024"},"notes":[{"CveYear":"2024","CveId":"49996","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: Fix buffer overflow when parsing NFS reparse points\n\nReparseDataLength is sum of the InodeType size and DataBuffer size.\nSo to get DataBuffer size it is needed to subtract InodeType's size from\nReparseDataLength.\n\nFunction cifs_strndup_from_utf16() is currentlly accessing buf->DataBuffer\nat position after the end of the buffer because it does not subtract\nInodeType size from the length. Fix this problem and correctly subtract\nvariable len.\n\nMember InodeType is present only when reparse buffer is large enough. Check\nfor ReparseDataLength before accessing InodeType to prevent another invalid\nmemory access.\n\nMajor and minor rdev values are present also only when reparse buffer is\nlarge enough. Check for reparse buffer size before calling reparse_mkdev().","Type":"Description","Title":"cifs: Fix buffer overflow when parsing NFS reparse points"}]}}}