You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the output device is full, read-only, or otherwise unable to be truncated, dd reports success (exit 0) while leaving stale data in the output file.
Impact
Silent data corruption. Backup scripts relying on dd may believe a copy succeeded when it actually contains old/garbage data, leading to undetected data loss during recovery.
I see that it mentions that its tagged "reported-canonical" but there's no link. I've tried searching for one that matches this description. I also tried a few different scenarios and file systems and I was unable to find a condition where the uutils implementation differs from the gnu version when it comes to silent truncation.
Activity
dshemetov commentedon Dec 20, 2025
Looking into this one
dshemetov commentedon Dec 20, 2025
Output device full appears to be returning exit 1 on Unix correctly
dshemetov commentedon Dec 20, 2025
Can't repro the read-only condition problem either (on Unix)
ChrisDryden commentedon Jan 28, 2026
I see that it mentions that its tagged "reported-canonical" but there's no link. I've tried searching for one that matches this description. I also tried a few different scenarios and file systems and I was unable to find a condition where the uutils implementation differs from the gnu version when it comes to silent truncation.
pajod commentedon Jul 13, 2026
Appears to be resolved in #12667 @ 0f538b9 (as of this writing, not in a tagged release).
sylvestre commentedon Sep 8, 2026
indeed, thanks