Public bug reported:
After finding out
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2167919 I wanted to
check if there are more incorrectly backported fixes in Noble kernel.
While checking for other backports I found incorrectly resolved commit
e1a0202c6bfd ("blk-cgroup: improve policy registration error handling").
Our backport moved the callback-pair validation to the start of
blkcg_policy_register() (before any mutex is taken), but retained the
jump to err_unlock. If this jump is taken, mutex_unlock() will be called
on mutexes that were not held and the function will return uninitialized
value.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2174380
Title:
Noble: incorrect backport of blk-cgroup: return -EINVAL before
acquiring policy mutexes
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2174380/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs