CVE-2025-37839
JSON

7.8high

jbd2: remove wrong sb->s_sequence check

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
0.34% (higher than 28% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: jbd2: remove wrong sb->s_sequence check Journal emptiness is not determined by sb->s_sequence == 0 but rather by sb->s_start == 0 (which is set a few lines above). Furthermore 0 is a valid transaction ID so the check can spuriously trigger. Remove the invalid WARN_ON.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 24bcc89c7e7c64982e6192b4952a0a92379fc341 before cf30432f5b3064ff85d85639c2f0106f89c566f6, from 24bcc89c7e7c64982e6192b4952a0a92379fc341 before b479839525fe7906966cdc4b5b2afbca048558a1, from 24bcc89c7e7c64982e6192b4952a0a92379fc341 before ad926f735b4d4f10768fec7d080cadeb6d075cac, from 24bcc89c7e7c64982e6192b4952a0a92379fc341 before 3b4643ffaf72d7a5a357e9bf68b1775f8cfe7e77, from 24bcc89c7e7c64982e6192b4952a0a92379fc341 before c88f7328bb0fff66520fc9164f02b1d06e083c1b, from 24bcc89c7e7c64982e6192b4952a0a92379fc341 before 9eaec071f111cd2124ce9a5b93536d3f6837d457, from 24bcc89c7e7c64982e6192b4952a0a92379fc341 before c98eb9ffb1d9c98237b5e1668eee17654e129fb0, from 24bcc89c7e7c64982e6192b4952a0a92379fc341 before b0cca357f85beb6144ab60c62dcc98508cc044bf and 4 more
Not affected: before 3.4, from 5.4.293 up to 5.4.*, from 5.10.237 up to 5.10.*, from 5.15.181 up to 5.15.*, from 6.1.135 up to 6.1.*, from 6.6.88 up to 6.6.*
CVE List
linux linux_kernelbefore 5.4.293, from 5.5 before 5.10.237, from 5.11 before 5.15.181, from 5.16 before 6.1.135, from 6.2 before 6.6.88, from 6.7 before 6.12.24, from 6.13 before 6.13.12, from 6.14 before 6.14.3NVD
debian debian_linux11.0NVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: jbd2: remove wrong sb->s_sequence check Journal emptiness is not determined by sb->s_sequence == 0 but rather by sb->s_start == 0 (which is set a few lines above). Furthermore 0 is a valid transaction ID so the check can spuriously trigger. Remove the invalid WARN_ON.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: jbd2: eliminar la comprobación incorrecta de sb->s_sequence. El vacío del diario no se determina por sb->s_sequence == 0, sino por sb->s_start == 0 (que se establece unas líneas más arriba). Además, 0 es un ID de transacción válido, por lo que la comprobación puede activarse falsamente. Eliminar el WARN_ON no válido.

References

https://git.kernel.org/stable/c/cf30432f5b3064ff85d85639c2f0106f89c566f6patch
https://git.kernel.org/stable/c/b479839525fe7906966cdc4b5b2afbca048558a1patch
https://git.kernel.org/stable/c/ad926f735b4d4f10768fec7d080cadeb6d075cacpatch
https://git.kernel.org/stable/c/3b4643ffaf72d7a5a357e9bf68b1775f8cfe7e77patch
https://git.kernel.org/stable/c/c88f7328bb0fff66520fc9164f02b1d06e083c1bpatch
https://git.kernel.org/stable/c/9eaec071f111cd2124ce9a5b93536d3f6837d457patch
https://git.kernel.org/stable/c/c98eb9ffb1d9c98237b5e1668eee17654e129fb0patch
https://git.kernel.org/stable/c/b0cca357f85beb6144ab60c62dcc98508cc044bfpatch
https://git.kernel.org/stable/c/e6eff39dd0fe4190c6146069cc16d160e71d1148patch
https://lists.debian.org/debian-lts-announce/2025/05/msg00045.htmlmailing-list, third-party-advisory
https://lists.debian.org/debian-lts-announce/2025/05/msg00030.htmlmailing-list, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2025-37839 changed 2026-11-05CVE Terms of Use
NVDCVE-2025-37839 changed 2026-11-05Public domain