---
id: CVE-2025-37839
title: 'jbd2: remove wrong sb->s_sequence check'
summary: |-
  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). Fur…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 24bcc89c7e7c64982e6192b4952a0a92379fc341 <
    cf30432f5b3064ff85d85639c2f0106f89c566f6
  - >-
    Linux >= 24bcc89c7e7c64982e6192b4952a0a92379fc341 <
    b479839525fe7906966cdc4b5b2afbca048558a1
  - >-
    Linux >= 24bcc89c7e7c64982e6192b4952a0a92379fc341 <
    ad926f735b4d4f10768fec7d080cadeb6d075cac
  - >-
    Linux >= 24bcc89c7e7c64982e6192b4952a0a92379fc341 <
    3b4643ffaf72d7a5a357e9bf68b1775f8cfe7e77
  - >-
    Linux >= 24bcc89c7e7c64982e6192b4952a0a92379fc341 <
    c88f7328bb0fff66520fc9164f02b1d06e083c1b
  - >-
    Linux >= 24bcc89c7e7c64982e6192b4952a0a92379fc341 <
    9eaec071f111cd2124ce9a5b93536d3f6837d457
  - >-
    Linux >= 24bcc89c7e7c64982e6192b4952a0a92379fc341 <
    c98eb9ffb1d9c98237b5e1668eee17654e129fb0
  - >-
    Linux >= 24bcc89c7e7c64982e6192b4952a0a92379fc341 <
    b0cca357f85beb6144ab60c62dcc98508cc044bf
  - >-
    Linux >= 24bcc89c7e7c64982e6192b4952a0a92379fc341 <
    e6eff39dd0fe4190c6146069cc16d160e71d1148
  - Linux dd8ff32c1e7ed10fb0e168b4431983e09acbeb2f
  - Linux >= 3.2.71 < 3.3
  - Linux 3.4
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T20:41:59.240415Z'
published: '2025-05-09'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:52:04.704Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2025-37839'
references:
  - url: 'https://git.kernel.org/stable/c/cf30432f5b3064ff85d85639c2f0106f89c566f6'
  - url: 'https://git.kernel.org/stable/c/b479839525fe7906966cdc4b5b2afbca048558a1'
  - url: 'https://git.kernel.org/stable/c/ad926f735b4d4f10768fec7d080cadeb6d075cac'
  - url: 'https://git.kernel.org/stable/c/3b4643ffaf72d7a5a357e9bf68b1775f8cfe7e77'
  - url: 'https://git.kernel.org/stable/c/c88f7328bb0fff66520fc9164f02b1d06e083c1b'
  - url: 'https://git.kernel.org/stable/c/9eaec071f111cd2124ce9a5b93536d3f6837d457'
  - url: 'https://git.kernel.org/stable/c/c98eb9ffb1d9c98237b5e1668eee17654e129fb0'
  - url: 'https://git.kernel.org/stable/c/b0cca357f85beb6144ab60c62dcc98508cc044bf'
  - url: 'https://git.kernel.org/stable/c/e6eff39dd0fe4190c6146069cc16d160e71d1148'
tags:
  - cve.org
epss: 0.00334
epssPercentile: 0.26936
ingestedAt: '2026-11-05T22:38:31.882Z'
---

## Overview

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

- `Linux >= 24bcc89c7e7c64982e6192b4952a0a92379fc341 < cf30432f5b3064ff85d85639c2f0106f89c566f6`
- `Linux >= 24bcc89c7e7c64982e6192b4952a0a92379fc341 < b479839525fe7906966cdc4b5b2afbca048558a1`
- `Linux >= 24bcc89c7e7c64982e6192b4952a0a92379fc341 < ad926f735b4d4f10768fec7d080cadeb6d075cac`
- `Linux >= 24bcc89c7e7c64982e6192b4952a0a92379fc341 < 3b4643ffaf72d7a5a357e9bf68b1775f8cfe7e77`
- `Linux >= 24bcc89c7e7c64982e6192b4952a0a92379fc341 < c88f7328bb0fff66520fc9164f02b1d06e083c1b`
- `Linux >= 24bcc89c7e7c64982e6192b4952a0a92379fc341 < 9eaec071f111cd2124ce9a5b93536d3f6837d457`
- `Linux >= 24bcc89c7e7c64982e6192b4952a0a92379fc341 < c98eb9ffb1d9c98237b5e1668eee17654e129fb0`
- `Linux >= 24bcc89c7e7c64982e6192b4952a0a92379fc341 < b0cca357f85beb6144ab60c62dcc98508cc044bf`
- `Linux >= 24bcc89c7e7c64982e6192b4952a0a92379fc341 < e6eff39dd0fe4190c6146069cc16d160e71d1148`
- `Linux dd8ff32c1e7ed10fb0e168b4431983e09acbeb2f`
- `Linux >= 3.2.71 < 3.3`
- `Linux 3.4`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
