[VROC] [Ub 24.04] mdadm: buffer overflow detected

Bug #2069821 reported by Kinga Tanska
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mdadm (Ubuntu)
Confirmed
Undecided
Hector CAO

Bug Description

Mdadm throws buffer-overflow sometimes, it depends on the building environment.
It happens when mdadm is built with FORFTIFY_SOURCE=3 (as it is done in Ubuntu 24.04).

Buffer-overflow is detected for many commands in this case:
- mdadm --detail-pl
- mdadm -CR /dev/md0 -l1 -n2 /dev/nvme0n1 /dev/nvme1n1
*** buffer overflow detected ***: terminated
Aborted (core dumped)

It is fixed in mdadm upstream - please apply this patch to mdadm package and rebuilt it.
https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=827e1870f320545796d907f50af594e901399417

Kinga Tanska (ktanska)
description: updated
Revision history for this message
Kinga Tanska (ktanska) wrote :

Hello,
do you have any update?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mdadm (Ubuntu):
status: New → Confirmed
Revision history for this message
Mateusz Kusiak (mkusiak) wrote :

Any updates on this?

Hector CAO (hectorcao)
Changed in mdadm (Ubuntu):
assignee: nobody → Hector CAO (hectorcao)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.