<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/linux-patched-for-silent-user-space-data-loss-bug-that-s-existed-since-2023-dyczxvado" -->

---
title: Linux Patched For Silent User-Space Data Loss Bug That's...
description: A silent user-space data loss bug present in the Linux kernel since July 2023 (introduced in Linux 6.6) has been fixed via a one-line patch merged into this...
canonical: https://daily.dev/posts/linux-patched-for-silent-user-space-data-loss-bug-that-s-existed-since-2023-dyczxvado
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Linux Patched For Silent User-Space Data Loss Bug That's Existed Since 2023 | daily.dev
og:description: A silent user-space data loss bug present in the Linux kernel since July 2023 (introduced in Linux 6.6) has been fixed via a one-line patch merged into this...
og:url: https://daily.dev/posts/linux-patched-for-silent-user-space-data-loss-bug-that-s-existed-since-2023-dyczxvado
og:image: https://api.daily.dev/og/posts/dYCZxvaDo.png
og:image:alt: Linux Patched For Silent User-Space Data Loss Bug That's Existed Since 2023
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Linux Patched For Silent User-Space Data Loss Bug That's Existed Since 2023

**[Phoronix](https://daily.dev/sources/phoronix)** · 1 min read · 0 upvotes · 0 comments

## Summary

A silent user-space data loss bug present in the Linux kernel since July 2023 (introduced in Linux 6.6) has been fixed via a one-line patch merged into this week's x86/urgent tree ahead of Linux 7.3-rc3. The bug triggers when transparent hugepages are enabled together with cgroup memory limits, MADV_FREE calls, and heavy memory reclaim pressure, silently dropping writes made after MADV_FREE. Real production data loss was observed by users of the Polars data analytics library. The fix is marked for back-porting to stable kernel series.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.phoronix.com/news/Linux-7.3-Fix-Silent-Data-Loss>

## Questions this post answers

### What caused the Linux kernel silent data loss bug affecting MADV_FREE and transparent hugepages?

The bug occurred when transparent hugepages (THP) were enabled together with cgroup memory limits, MADV_FREE usage, and heavy memory reclaim pressure, causing writes made after an MADV_FREE call to be silently lost. It was introduced in July 2023 and present starting with Linux 6.6, and it caused real production data loss for users of the Polars data analytics library.

_Track kernel memory-management fixes like this on daily.dev before they hit your production workloads._

### How was the Linux MADV_FREE data loss bug fixed and when?

A one-line kernel patch fixing the bug was merged into the x86/urgent tree ahead of the Linux 7.3-rc3 release, after being reported at the start of the month with a reproducer C program. The fix is also marked for back-porting to the currently supported stable kernel series, since the bug had existed since Linux 6.6 in July 2023.

_daily.dev helps kernel and infra engineers keep up with urgent stable-kernel backports like this fix._

## Similar posts on daily.dev

- [Linux 7.2-rc7 Restoring Btrfs Fixup Worker Infrastructure To Address Silent Data Loss](https://daily.dev/posts/linux-7-2-rc7-restoring-btrfs-fixup-worker-infrastructure-to-address-silent-data-loss-vwmiuiln2) · Phoronix · 0 upvotes · 0 comments
- [PinTheft Linux kernel vulnerability mitigation](https://daily.dev/posts/pintheft-linux-kernel-vulnerability-mitigation-89zunv5we) · Ubuntu · 0 upvotes · 0 comments

---

Tags: [#linux](https://daily.dev/tags/linux), [#polars](https://daily.dev/tags/polars)

[View this post on daily.dev](https://daily.dev/posts/linux-patched-for-silent-user-space-data-loss-bug-that-s-existed-since-2023-dyczxvado)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Linux Patched For Silent User-Space Data Loss Bug That's Existed Since 2023","url":"https://daily.dev/posts/linux-patched-for-silent-user-space-data-loss-bug-that-s-existed-since-2023-dyczxvado","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/linux-patched-for-silent-user-space-data-loss-bug-that-s-existed-since-2023-dyczxvado"},"datePublished":"2026-09-14T10:17:45.498Z","dateModified":"2026-09-14T10:20:59.700Z","description":"A silent user-space data loss bug present in the Linux kernel since July 2023 (introduced in Linux 6.6) has been fixed via a one-line patch merged into this...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/2bb28a29268b2cf3fb87b1eb93481715?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/2bb28a29268b2cf3fb87b1eb93481715?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Phoronix","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Phoronix","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/6a26ba379dd64932830aa0c9803dd7ee","url":"https://daily.dev/sources/phoronix"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/linux-patched-for-silent-user-space-data-loss-bug-that-s-existed-since-2023-dyczxvado","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"linux,polars","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Phoronix","item":"https://daily.dev/sources/phoronix"},{"@type":"ListItem","position":3,"name":"Linux Patched For Silent User-Space Data Loss Bug That's Existed Since 2023"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/linux-patched-for-silent-user-space-data-loss-bug-that-s-existed-since-2023-dyczxvado#faq","mainEntity":[{"@type":"Question","name":"What caused the Linux kernel silent data loss bug affecting MADV_FREE and transparent hugepages?","acceptedAnswer":{"@type":"Answer","text":"The bug occurred when transparent hugepages (THP) were enabled together with cgroup memory limits, MADV_FREE usage, and heavy memory reclaim pressure, causing writes made after an MADV_FREE call to be silently lost. It was introduced in July 2023 and present starting with Linux 6.6, and it caused real production data loss for users of the Polars data analytics library. Track kernel memory-management fixes like this on daily.dev before they hit your production workloads."}},{"@type":"Question","name":"How was the Linux MADV_FREE data loss bug fixed and when?","acceptedAnswer":{"@type":"Answer","text":"A one-line kernel patch fixing the bug was merged into the x86/urgent tree ahead of the Linux 7.3-rc3 release, after being reported at the start of the month with a reproducer C program. The fix is also marked for back-porting to the currently supported stable kernel series, since the bug had existed since Linux 6.6 in July 2023. daily.dev helps kernel and infra engineers keep up with urgent stable-kernel backports like this fix."}}]}
```

