{"api_version":"1","generated_at":"2026-11-30T18:22:12+00:00","cve":"CVE-2026-139389","urls":{"html":"https://cve.report/CVE-2026-139389","api":"https://cve.report/api/cve/CVE-2026-139389.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139389","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139389"},"summary":{"title":"ocfs2: validate chunk and block counts of the local quota file","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: validate chunk and block counts of the local quota file\n\nocfs2_local_read_info() trusts dqi_chunks and dqi_blocks from the local\nquota file header.  If dqi_blocks is too small,\nocfs2_extend_local_quota_file() computes a bogus chunk length, extends the\nfile, and maps logical block dqi_blocks, which is already in the inode's\nmetadata cache (the header or a chunk header read at mount).  sb_getblk()\nreturns that cached buffer and ocfs2_set_new_buffer_uptodate() hits\nBUG_ON(ocfs2_buffer_cached()):\n\n  kernel BUG at fs/ocfs2/uptodate.c:509!\n  ocfs2_extend_local_quota_file+0x45c/0x1100\n  ocfs2_create_local_dquot+0x8ac/0xb50\n  ocfs2_acquire_dquot+0x614/0xae0\n  ocfs2_get_init_inode+0xe9/0x1b0\n  ocfs2_mkdir+0x174/0x430\n\nocfs2_local_quota_add_chunk() has the same exposure.\n\nReject a header whose counts don't fit the chunk layout or exceed i_size.\n\nReproduced with a crafted image (dqi_blocks = 1, chunk 0 dqc_free = 0);\nsyzbot has no reproducer for this report.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:19:06","updated_at":"2026-11-30 14:19:06"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/285d5188187af8f91e7d866f3e524527cde7b181","name":"https://git.kernel.org/stable/c/285d5188187af8f91e7d866f3e524527cde7b181","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a57473aba28a1720fdd3ab7f1d9a229d638a6e56","name":"https://git.kernel.org/stable/c/a57473aba28a1720fdd3ab7f1d9a229d638a6e56","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/784bafa48e475fe824556edc6f77133869d178e0","name":"https://git.kernel.org/stable/c/784bafa48e475fe824556edc6f77133869d178e0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0a6b9398588bc689e1bd7753b61cf2f7880ec3a2","name":"https://git.kernel.org/stable/c/0a6b9398588bc689e1bd7753b61cf2f7880ec3a2","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e1ea7a8462b9c3495bd51d2953b4c6f767864ba6","name":"https://git.kernel.org/stable/c/e1ea7a8462b9c3495bd51d2953b4c6f767864ba6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/cff711aeeaebe97c890811570432c1a9b38b0507","name":"https://git.kernel.org/stable/c/cff711aeeaebe97c890811570432c1a9b38b0507","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b10ef5d2c2083ea4c40e963c10a73a154793c5d4","name":"https://git.kernel.org/stable/c/b10ef5d2c2083ea4c40e963c10a73a154793c5d4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3a1b4b31fb8b2495e80cfc441eeeff7efc66aca1","name":"https://git.kernel.org/stable/c/3a1b4b31fb8b2495e80cfc441eeeff7efc66aca1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139389","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139389","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9e33d69f553aaf11377307e8d6f82deb3385e351 e1ea7a8462b9c3495bd51d2953b4c6f767864ba6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9e33d69f553aaf11377307e8d6f82deb3385e351 cff711aeeaebe97c890811570432c1a9b38b0507 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9e33d69f553aaf11377307e8d6f82deb3385e351 3a1b4b31fb8b2495e80cfc441eeeff7efc66aca1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9e33d69f553aaf11377307e8d6f82deb3385e351 0a6b9398588bc689e1bd7753b61cf2f7880ec3a2 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9e33d69f553aaf11377307e8d6f82deb3385e351 a57473aba28a1720fdd3ab7f1d9a229d638a6e56 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9e33d69f553aaf11377307e8d6f82deb3385e351 784bafa48e475fe824556edc6f77133869d178e0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9e33d69f553aaf11377307e8d6f82deb3385e351 285d5188187af8f91e7d866f3e524527cde7b181 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9e33d69f553aaf11377307e8d6f82deb3385e351 b10ef5d2c2083ea4c40e963c10a73a154793c5d4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.29","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.29 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.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 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/ocfs2/quota_local.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"e1ea7a8462b9c3495bd51d2953b4c6f767864ba6","status":"affected","version":"9e33d69f553aaf11377307e8d6f82deb3385e351","versionType":"git"},{"lessThan":"cff711aeeaebe97c890811570432c1a9b38b0507","status":"affected","version":"9e33d69f553aaf11377307e8d6f82deb3385e351","versionType":"git"},{"lessThan":"3a1b4b31fb8b2495e80cfc441eeeff7efc66aca1","status":"affected","version":"9e33d69f553aaf11377307e8d6f82deb3385e351","versionType":"git"},{"lessThan":"0a6b9398588bc689e1bd7753b61cf2f7880ec3a2","status":"affected","version":"9e33d69f553aaf11377307e8d6f82deb3385e351","versionType":"git"},{"lessThan":"a57473aba28a1720fdd3ab7f1d9a229d638a6e56","status":"affected","version":"9e33d69f553aaf11377307e8d6f82deb3385e351","versionType":"git"},{"lessThan":"784bafa48e475fe824556edc6f77133869d178e0","status":"affected","version":"9e33d69f553aaf11377307e8d6f82deb3385e351","versionType":"git"},{"lessThan":"285d5188187af8f91e7d866f3e524527cde7b181","status":"affected","version":"9e33d69f553aaf11377307e8d6f82deb3385e351","versionType":"git"},{"lessThan":"b10ef5d2c2083ea4c40e963c10a73a154793c5d4","status":"affected","version":"9e33d69f553aaf11377307e8d6f82deb3385e351","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/ocfs2/quota_local.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.29"},{"lessThan":"2.6.29","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.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","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.29","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"2.6.29","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"2.6.29","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"2.6.29","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"2.6.29","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"2.6.29","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"2.6.29","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"2.6.29","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: validate chunk and block counts of the local quota file\n\nocfs2_local_read_info() trusts dqi_chunks and dqi_blocks from the local\nquota file header.  If dqi_blocks is too small,\nocfs2_extend_local_quota_file() computes a bogus chunk length, extends the\nfile, and maps logical block dqi_blocks, which is already in the inode's\nmetadata cache (the header or a chunk header read at mount).  sb_getblk()\nreturns that cached buffer and ocfs2_set_new_buffer_uptodate() hits\nBUG_ON(ocfs2_buffer_cached()):\n\n  kernel BUG at fs/ocfs2/uptodate.c:509!\n  ocfs2_extend_local_quota_file+0x45c/0x1100\n  ocfs2_create_local_dquot+0x8ac/0xb50\n  ocfs2_acquire_dquot+0x614/0xae0\n  ocfs2_get_init_inode+0xe9/0x1b0\n  ocfs2_mkdir+0x174/0x430\n\nocfs2_local_quota_add_chunk() has the same exposure.\n\nReject a header whose counts don't fit the chunk layout or exceed i_size.\n\nReproduced with a crafted image (dqi_blocks = 1, chunk 0 dqc_free = 0);\nsyzbot has no reproducer for this report."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:34:18.254Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/e1ea7a8462b9c3495bd51d2953b4c6f767864ba6"},{"url":"https://git.kernel.org/stable/c/cff711aeeaebe97c890811570432c1a9b38b0507"},{"url":"https://git.kernel.org/stable/c/3a1b4b31fb8b2495e80cfc441eeeff7efc66aca1"},{"url":"https://git.kernel.org/stable/c/0a6b9398588bc689e1bd7753b61cf2f7880ec3a2"},{"url":"https://git.kernel.org/stable/c/a57473aba28a1720fdd3ab7f1d9a229d638a6e56"},{"url":"https://git.kernel.org/stable/c/784bafa48e475fe824556edc6f77133869d178e0"},{"url":"https://git.kernel.org/stable/c/285d5188187af8f91e7d866f3e524527cde7b181"},{"url":"https://git.kernel.org/stable/c/b10ef5d2c2083ea4c40e963c10a73a154793c5d4"}],"title":"ocfs2: validate chunk and block counts of the local quota file","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139389","datePublished":"2026-11-30T13:34:18.254Z","dateReserved":"2026-11-30T13:22:15.931Z","dateUpdated":"2026-11-30T13:34:18.254Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:19:06","lastModifiedDate":"2026-11-30 14:19:06","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139389","Ordinal":"1","Title":"ocfs2: validate chunk and block counts of the local quota file","CVE":"CVE-2026-139389","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139389","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: validate chunk and block counts of the local quota file\n\nocfs2_local_read_info() trusts dqi_chunks and dqi_blocks from the local\nquota file header.  If dqi_blocks is too small,\nocfs2_extend_local_quota_file() computes a bogus chunk length, extends the\nfile, and maps logical block dqi_blocks, which is already in the inode's\nmetadata cache (the header or a chunk header read at mount).  sb_getblk()\nreturns that cached buffer and ocfs2_set_new_buffer_uptodate() hits\nBUG_ON(ocfs2_buffer_cached()):\n\n  kernel BUG at fs/ocfs2/uptodate.c:509!\n  ocfs2_extend_local_quota_file+0x45c/0x1100\n  ocfs2_create_local_dquot+0x8ac/0xb50\n  ocfs2_acquire_dquot+0x614/0xae0\n  ocfs2_get_init_inode+0xe9/0x1b0\n  ocfs2_mkdir+0x174/0x430\n\nocfs2_local_quota_add_chunk() has the same exposure.\n\nReject a header whose counts don't fit the chunk layout or exceed i_size.\n\nReproduced with a crafted image (dqi_blocks = 1, chunk 0 dqc_free = 0);\nsyzbot has no reproducer for this report.","Type":"Description","Title":"ocfs2: validate chunk and block counts of the local quota file"}]}}}