# CVE-2024-50116: nilfs2: fix kernel bug due to missing clearing of buffer delay flag

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-11-05 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2024-50116, DEBIAN-CVE-2024-50116
- Record: https://cvemate.com/vulnerability/CVE-2024-50116 · JSON: https://cvemate.com/vulnerability/CVE-2024-50116/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

nilfs2: fix kernel bug due to missing clearing of buffer delay flag

Syzbot reported that after nilfs2 reads a corrupted file system image
and degrades to read-only, the BUG_ON check for the buffer delay flag
in submit_bh_wbc() may fail, causing a kernel bug.

This is because the buffer delay flag is not cleared when clearing the
buffer state flags to discard a page/folio or a buffer head. So, fix
this.

This became necessary when the use of nilfs2's own page clear routine
was expanded.  This state inconsistency does not occur if the buffer
is written normally by log writing.
```

## Signals

- CVSS: 5.5 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.243%, percentile 16.608%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 138)

- debian linux (Debian): \< 6.1.115-1 \| \< 6.11.6-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 4.4.0-270.304 \| \< 4.15.0-239.251 \| \< 5.4.0-208.228 \| \< 5.15.0-133.144 \| \< 6.8.0-58.60
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1145.151 \| \< 4.4.0-1183.198 \| \< 4.15.0-1182.195 \| \< 5.4.0-1140.150 \| \< 5.15.0-1078.85 \| \< 6.8.0-1027.29
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1080.87~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1142.152~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1027.29~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2120.126 \| All versions (No fix recorded) \| \< 5.4.0-1140.151+fips1 \| \< 5.15.0-1078.85+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1182.195~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1190.205~14.04.1 \| \< 4.15.0-1190.205~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1145.152 \| \< 5.15.0-1081.90 \| \< 6.8.0-1027.32
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1190.205
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 57)

- <https://git.kernel.org/stable/c/033bc52f35868c2493a2d95c56ece7fc155d7cb3>
- <https://git.kernel.org/stable/c/412a30b1b28d6073ba29c46a2b0f324c5936293f>
- <https://git.kernel.org/stable/c/9f2ab98371c2f2488bf3bf3f9b2a73510545e9c1>
- <https://git.kernel.org/stable/c/822203f6355f4b322d21e7115419f6b98284be25>
- <https://git.kernel.org/stable/c/27524f65621f490184f2ace44cd8e5f3685af4a3>
- <https://git.kernel.org/stable/c/743c78d455e784097011ea958b27396001181567>
- <https://git.kernel.org/stable/c/c6f58ff2d4c552927fe9a187774e668ebba6c7aa>
- <https://git.kernel.org/stable/c/6ed469df0bfbef3e4b44fca954a781919db9f7ab>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://ubuntu.com/security/CVE-2024-50116>
- <https://www.cve.org/CVERecord?id=CVE-2024-50116>
- <https://git.kernel.org/linus/6ed469df0bfbef3e4b44fca954a781919db9f7ab>
- <https://ubuntu.com/security/notices/USN-7276-1>
- <https://ubuntu.com/security/notices/USN-7277-1>
- <https://ubuntu.com/security/notices/USN-7288-1>
- <https://ubuntu.com/security/notices/USN-7289-1>
- <https://ubuntu.com/security/notices/USN-7291-1>
- <https://ubuntu.com/security/notices/USN-7288-2>
- <https://ubuntu.com/security/notices/USN-7289-2>

---

Data as of 2026-12-05T04:23:48.264Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
