{"id":"CVE-2023-53337","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2025-09-17T15:15:36.793","lastModified":"2026-06-17T06:44:55.900","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: do not write dirty data after degenerating to read-only\n\nAccording to syzbot's report, mark_buffer_dirty() called from\nnilfs_segctor_do_construct() outputs a warning with some patterns after\nnilfs2 detects metadata corruption and degrades to read-only mode.\n\nAfter such read-only degeneration, page cache data may be cleared through\nnilfs_clear_dirty_page() which may also clear the uptodate flag for their\nbuffer heads.  However, even after the degeneration, log writes are still\nperformed by unmount processing etc., which causes mark_buffer_dirty() to\nbe called for buffer heads without the \"uptodate\" flag and causes the\nwarning.\n\nSince any writes should not be done to a read-only file system in the\nfirst place, this fixes the warning in mark_buffer_dirty() by letting\nnilfs_segctor_do_construct() abort early if in read-only mode.\n\nThis also changes the retry check of nilfs_segctor_write_out() to avoid\nunnecessary log write retries if it detects -EROFS that\nnilfs_segctor_do_construct() returned."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/nilfs2/segment.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"8c26c4e2694a163d525976e804d81cd955bbb40c","lessThan":"bd89073fc7a5d03b1d06b372addbe405e5a925f4","versionType":"git","status":"affected"},{"version":"8c26c4e2694a163d525976e804d81cd955bbb40c","lessThan":"e9c5412c5972124776c1b873533eb39e287a4dfa","versionType":"git","status":"affected"},{"version":"8c26c4e2694a163d525976e804d81cd955bbb40c","lessThan":"4569a292a84e340e97d178898ad1cfe1a3080a61","versionType":"git","status":"affected"},{"version":"8c26c4e2694a163d525976e804d81cd955bbb40c","lessThan":"7c3e662048053802f6b0db3a78e97f4e1f7edc4f","versionType":"git","status":"affected"},{"version":"8c26c4e2694a163d525976e804d81cd955bbb40c","lessThan":"13f73ef77baa4764dc1ca4fcbae9cade05b83866","versionType":"git","status":"affected"},{"version":"8c26c4e2694a163d525976e804d81cd955bbb40c","lessThan":"a73201c607d8e506358d60aafddda4246bdd9350","versionType":"git","status":"affected"},{"version":"8c26c4e2694a163d525976e804d81cd955bbb40c","lessThan":"4005cec6847c06ee191583270b7cdd7e696543cc","versionType":"git","status":"affected"},{"version":"8c26c4e2694a163d525976e804d81cd955bbb40c","lessThan":"55f7810632f993cff622a0ddbc7c865892294b61","versionType":"git","status":"affected"},{"version":"8c26c4e2694a163d525976e804d81cd955bbb40c","lessThan":"28a65b49eb53e172d23567005465019658bfdb4d","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/nilfs2/segment.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"3.10","status":"affected"},{"version":"0","lessThan":"3.10","versionType":"semver","status":"unaffected"},{"version":"4.14.315","lessThanOrEqual":"4.14.*","versionType":"semver","status":"unaffected"},{"version":"4.19.283","lessThanOrEqual":"4.19.*","versionType":"semver","status":"unaffected"},{"version":"5.4.243","lessThanOrEqual":"5.4.*","versionType":"semver","status":"unaffected"},{"version":"5.10.180","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.111","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.28","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.2.15","lessThanOrEqual":"6.2.*","versionType":"semver","status":"unaffected"},{"version":"6.3.2","lessThanOrEqual":"6.3.*","versionType":"semver","status":"unaffected"},{"version":"6.4","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"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},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","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}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-01-14T18:37:55.787557Z","id":"CVE-2023-53337","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"NVD-CWE-noinfo"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"4.14.315","matchCriteriaId":"1A8A9F0F-3562-4C72-A33C-CEFDA424F998"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"4.19.283","matchCriteriaId":"8AC1BC2D-A61C-4368-A3F6-50DF48E2EFC5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"5.4.243","matchCriteriaId":"E54ACEF5-C8C1-4266-85FC-7D513FFD1DEC"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.10.180","matchCriteriaId":"78422AC3-CC89-479E-B4BC-62381D8F3564"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.15.111","matchCriteriaId":"2B9DD776-7F17-4F72-B94F-54BFCBC692DD"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.1.28","matchCriteriaId":"08F855F4-7188-4EE1-BD79-D4B6C7E2EF54"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.2.15","matchCriteriaId":"3844A90B-940D-46C3-8D7B-9FF63F1AFC2F"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.3.2","matchCriteriaId":"38F6F330-91A0-4675-8B90-6F950471A7CC"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/13f73ef77baa4764dc1ca4fcbae9cade05b83866","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/28a65b49eb53e172d23567005465019658bfdb4d","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/4005cec6847c06ee191583270b7cdd7e696543cc","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/4569a292a84e340e97d178898ad1cfe1a3080a61","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/55f7810632f993cff622a0ddbc7c865892294b61","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/7c3e662048053802f6b0db3a78e97f4e1f7edc4f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/a73201c607d8e506358d60aafddda4246bdd9350","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/bd89073fc7a5d03b1d06b372addbe405e5a925f4","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/e9c5412c5972124776c1b873533eb39e287a4dfa","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]}]}