{"id":"CVE-2026-139061","aliases":["CVE-2026-139061"],"related":[],"kind":"vulnerability","state":"published","title":"udf: validate the device specification EA before using it","summary":"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]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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]","source":"cvelist"}],"published":"2026-11-30T13:27:30.308Z","modified":"2026-11-30T14:18:12.880Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"acc68946934990fc6c127cd494a4d024548a81af","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"3ef4b50dc9678af3a212df9a0ce556d0d28aa189","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"fa3433b55677f0de2c400c1ad6b0fc7c1c5d5ee8","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"d1458fb4b886686072388a7ce1ef6e15c6c37df9","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"2a479b4380267f0352b2a603496e5dc31f771047","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"66f61439a960dad287fb09d02dab5e53f3e09738","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"2959cb1fceb465db85cff47f8159375eb721570b","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"9a2390959685ac35a58c80c8016120849a2babf6","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.10.275","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15.226","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.1.193","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.6.163","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.12.118","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18.64","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.3.4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/acc68946934990fc6c127cd494a4d024548a81af","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3ef4b50dc9678af3a212df9a0ce556d0d28aa189","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fa3433b55677f0de2c400c1ad6b0fc7c1c5d5ee8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d1458fb4b886686072388a7ce1ef6e15c6c37df9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2a479b4380267f0352b2a603496e5dc31f771047","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/66f61439a960dad287fb09d02dab5e53f3e09738","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2959cb1fceb465db85cff47f8159375eb721570b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9a2390959685ac35a58c80c8016120849a2babf6","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139061","url":"https://www.cve.org/CVERecord?id=CVE-2026-139061","licence":"CVE Terms of Use","modified":"2026-11-30T13:27:30.308Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139061","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139061","licence":"Public domain","modified":"2026-11-30T14:18:12.880Z"}],"updatedAt":"2026-11-30T14:32:40.057Z","epss":{"score":0.00371,"percentile":0.33101,"date":"2026-12-01T12:00:22.000Z"}}