2024-06-19 11:49:30 |
Kinga Tanska |
bug |
|
|
added bug |
2024-06-19 11:50:45 |
Kinga Tanska |
bug |
|
|
added subscriber Mariusz Tkaczyk |
2024-06-19 11:51:52 |
Kinga Tanska |
bug |
|
|
added subscriber puneets |
2024-06-19 11:51:58 |
Kinga Tanska |
bug |
|
|
added subscriber Błażej Kucman |
2024-06-19 11:52:05 |
Kinga Tanska |
bug |
|
|
added subscriber Mateusz Kusiak |
2024-06-19 11:56:33 |
Kinga Tanska |
description |
Mdadm throws buffer-overflow sometimes, it depends on the building environment.
It happens 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 |
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 |
|
2024-07-17 14:35:13 |
Launchpad Janitor |
mdadm (Ubuntu): status |
New |
Confirmed |
|
2024-07-25 16:17:37 |
Hector CAO |
mdadm (Ubuntu): assignee |
|
Hector CAO (hectorcao) |
|
2024-07-29 08:34:36 |
Hector CAO |
mdadm (Ubuntu): status |
Confirmed |
In Progress |
|
2024-07-29 09:03:53 |
Simon Chopin |
nominated for series |
|
Ubuntu Noble |
|
2024-07-29 09:03:53 |
Simon Chopin |
bug task added |
|
mdadm (Ubuntu Noble) |
|
2024-07-29 09:03:53 |
Simon Chopin |
nominated for series |
|
Ubuntu Oracular |
|
2024-07-29 09:03:53 |
Simon Chopin |
bug task added |
|
mdadm (Ubuntu Oracular) |
|
2024-07-29 10:07:26 |
Hector CAO |
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 |
[ Impact ]
mdadm crashes sporadically with error *** buffer overflow detected *** at some invokations:
- mdadm --detail-pl
- mdadm -CR /dev/md0 -l1 -n2 /dev/nvme0n1 /dev/nvme1n1
*** buffer overflow detected ***: terminated
Aborted (core dumped)
[ Test Plan ]
- Install mdadm
- Have 2 disks to create a RAID devices
- Issue this command several times:
[ Where problems could occur ]
The fix is very small and basically it replaces the unsafe functions call
to sprintf by calling snprintf for Intel platforms (platform_intel.c)
I do not expect high regression risk.
[ Other Info ]
mdadm is built with FORTIFY_SOURCE=3 (as it is done in Ubuntu 24.04).
and it uses the unsafe function sprintf() that will cause the
buffer-overflow error
It is fixed in mdadm upstream:
https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=827e1870f320545796d907f50af594e901399417 |
|
2024-08-01 15:48:46 |
Hector CAO |
mdadm (Ubuntu Noble): status |
New |
In Progress |
|
2024-08-01 15:48:51 |
Hector CAO |
mdadm (Ubuntu Noble): assignee |
|
Hector CAO (hectorcao) |
|
2024-08-07 09:53:19 |
Kinga Tanska |
mdadm (Ubuntu Noble): status |
In Progress |
Confirmed |
|
2024-08-07 09:53:22 |
Kinga Tanska |
mdadm (Ubuntu Oracular): status |
In Progress |
Confirmed |
|
2024-08-09 06:54:29 |
Kinga Tanska |
description |
[ Impact ]
mdadm crashes sporadically with error *** buffer overflow detected *** at some invokations:
- mdadm --detail-pl
- mdadm -CR /dev/md0 -l1 -n2 /dev/nvme0n1 /dev/nvme1n1
*** buffer overflow detected ***: terminated
Aborted (core dumped)
[ Test Plan ]
- Install mdadm
- Have 2 disks to create a RAID devices
- Issue this command several times:
[ Where problems could occur ]
The fix is very small and basically it replaces the unsafe functions call
to sprintf by calling snprintf for Intel platforms (platform_intel.c)
I do not expect high regression risk.
[ Other Info ]
mdadm is built with FORTIFY_SOURCE=3 (as it is done in Ubuntu 24.04).
and it uses the unsafe function sprintf() that will cause the
buffer-overflow error
It is fixed in mdadm upstream:
https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=827e1870f320545796d907f50af594e901399417 |
[ Impact ]
mdadm crashes sporadically with error *** buffer overflow detected *** at some invokations:
- mdadm --detail-pl
- mdadm -CR /dev/md0 -l1 -n2 /dev/nvme0n1 /dev/nvme1n1
*** buffer overflow detected ***: terminated
Aborted (core dumped)
[ Test Plan ]
- Install mdadm
- Issue this command several times:
mdadm --detail-pl
[ Where problems could occur ]
The fix is very small and basically it replaces the unsafe functions call
to sprintf by calling snprintf for Intel platforms (platform_intel.c)
I do not expect high regression risk.
[ Other Info ]
mdadm is built with FORTIFY_SOURCE=3 (as it is done in Ubuntu 24.04).
and it uses the unsafe function sprintf() that will cause the
buffer-overflow error
It is fixed in mdadm upstream:
https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=827e1870f320545796d907f50af594e901399417 |
|
2024-08-10 09:06:39 |
Launchpad Janitor |
mdadm (Ubuntu Oracular): status |
Confirmed |
Fix Released |
|
2024-08-15 14:53:18 |
Hector CAO |
mdadm (Ubuntu Noble): status |
Confirmed |
In Progress |
|
2024-08-19 20:34:19 |
Mauricio Faria de Oliveira |
mdadm (Ubuntu Noble): status |
In Progress |
Incomplete |
|