{"api_version":"1","generated_at":"2026-12-02T11:59:38+00:00","cve":"CVE-2026-139061","urls":{"html":"https://cve.report/CVE-2026-139061","api":"https://cve.report/api/cve/CVE-2026-139061.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139061","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139061"},"summary":{"title":"udf: validate the device specification EA before using it","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nudf: validate the device specification EA before using it\n\nudf_get_extendedattr() bounds an extended attribute only against\nstruct genericFormat, which is 12 bytes.  A type-12 device\nspecification is struct deviceSpec, which is 24 bytes plus a flexible\nimpUse array. Thus a corrupted filesystem can contain extended attribute\nthat is accepted by udf_get_extendedattr() but udf_write_inode() or\nudf_read_inode() may access beyond the end of provided buffer.\n\nProvide a udf_device_spec_valid() check to validate correctness of\nextended attribute that is a deviceSpec. While here, check the result of\nudf_add_extendedattr() before dereferencing it as it can return NULL in\ncase of error.\n\n[JK: Removed duplicated validity checks]","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:12","updated_at":"2026-12-02 10:17:18"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/d1458fb4b886686072388a7ce1ef6e15c6c37df9","name":"https://git.kernel.org/stable/c/d1458fb4b886686072388a7ce1ef6e15c6c37df9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/acc68946934990fc6c127cd494a4d024548a81af","name":"https://git.kernel.org/stable/c/acc68946934990fc6c127cd494a4d024548a81af","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/66f61439a960dad287fb09d02dab5e53f3e09738","name":"https://git.kernel.org/stable/c/66f61439a960dad287fb09d02dab5e53f3e09738","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2a479b4380267f0352b2a603496e5dc31f771047","name":"https://git.kernel.org/stable/c/2a479b4380267f0352b2a603496e5dc31f771047","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9a2390959685ac35a58c80c8016120849a2babf6","name":"https://git.kernel.org/stable/c/9a2390959685ac35a58c80c8016120849a2babf6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/fa3433b55677f0de2c400c1ad6b0fc7c1c5d5ee8","name":"https://git.kernel.org/stable/c/fa3433b55677f0de2c400c1ad6b0fc7c1c5d5ee8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2959cb1fceb465db85cff47f8159375eb721570b","name":"https://git.kernel.org/stable/c/2959cb1fceb465db85cff47f8159375eb721570b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3ef4b50dc9678af3a212df9a0ce556d0d28aa189","name":"https://git.kernel.org/stable/c/3ef4b50dc9678af3a212df9a0ce556d0d28aa189","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139061","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139061","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 acc68946934990fc6c127cd494a4d024548a81af git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 3ef4b50dc9678af3a212df9a0ce556d0d28aa189 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 fa3433b55677f0de2c400c1ad6b0fc7c1c5d5ee8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 d1458fb4b886686072388a7ce1ef6e15c6c37df9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 2a479b4380267f0352b2a603496e5dc31f771047 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 66f61439a960dad287fb09d02dab5e53f3e09738 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 2959cb1fceb465db85cff47f8159375eb721570b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 9a2390959685ac35a58c80c8016120849a2babf6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.12","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.12 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.118 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.64 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/udf/inode.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"acc68946934990fc6c127cd494a4d024548a81af","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"3ef4b50dc9678af3a212df9a0ce556d0d28aa189","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"fa3433b55677f0de2c400c1ad6b0fc7c1c5d5ee8","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"d1458fb4b886686072388a7ce1ef6e15c6c37df9","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"2a479b4380267f0352b2a603496e5dc31f771047","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"66f61439a960dad287fb09d02dab5e53f3e09738","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"2959cb1fceb465db85cff47f8159375eb721570b","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"9a2390959685ac35a58c80c8016120849a2babf6","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/udf/inode.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.12"},{"lessThan":"2.6.12","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.118","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.64","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.118","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.64","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"2.6.12","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nudf: validate the device specification EA before using it\n\nudf_get_extendedattr() bounds an extended attribute only against\nstruct genericFormat, which is 12 bytes.  A type-12 device\nspecification is struct deviceSpec, which is 24 bytes plus a flexible\nimpUse array. Thus a corrupted filesystem can contain extended attribute\nthat is accepted by udf_get_extendedattr() but udf_write_inode() or\nudf_read_inode() may access beyond the end of provided buffer.\n\nProvide a udf_device_spec_valid() check to validate correctness of\nextended attribute that is a deviceSpec. While here, check the result of\nudf_add_extendedattr() before dereferencing it as it can return NULL in\ncase of error.\n\n[JK: Removed duplicated validity checks]"}],"providerMetadata":{"dateUpdated":"2026-12-02T09:21:35.079Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/acc68946934990fc6c127cd494a4d024548a81af"},{"url":"https://git.kernel.org/stable/c/3ef4b50dc9678af3a212df9a0ce556d0d28aa189"},{"url":"https://git.kernel.org/stable/c/fa3433b55677f0de2c400c1ad6b0fc7c1c5d5ee8"},{"url":"https://git.kernel.org/stable/c/d1458fb4b886686072388a7ce1ef6e15c6c37df9"},{"url":"https://git.kernel.org/stable/c/2a479b4380267f0352b2a603496e5dc31f771047"},{"url":"https://git.kernel.org/stable/c/66f61439a960dad287fb09d02dab5e53f3e09738"},{"url":"https://git.kernel.org/stable/c/2959cb1fceb465db85cff47f8159375eb721570b"},{"url":"https://git.kernel.org/stable/c/9a2390959685ac35a58c80c8016120849a2babf6"}],"title":"udf: validate the device specification EA before using it","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139061","datePublished":"2026-11-30T13:27:30.308Z","dateReserved":"2026-11-30T13:22:15.911Z","dateUpdated":"2026-12-02T09:21:35.079Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:12","lastModifiedDate":"2026-12-02 10:17:18","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139061","Ordinal":"1","Title":"udf: validate the device specification EA before using it","CVE":"CVE-2026-139061","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139061","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nudf: validate the device specification EA before using it\n\nudf_get_extendedattr() bounds an extended attribute only against\nstruct genericFormat, which is 12 bytes.  A type-12 device\nspecification is struct deviceSpec, which is 24 bytes plus a flexible\nimpUse array. Thus a corrupted filesystem can contain extended attribute\nthat is accepted by udf_get_extendedattr() but udf_write_inode() or\nudf_read_inode() may access beyond the end of provided buffer.\n\nProvide a udf_device_spec_valid() check to validate correctness of\nextended attribute that is a deviceSpec. While here, check the result of\nudf_add_extendedattr() before dereferencing it as it can return NULL in\ncase of error.\n\n[JK: Removed duplicated validity checks]","Type":"Description","Title":"udf: validate the device specification EA before using it"}]}}}