An integer overflow in util-linux through 2.37.1 can potentially cause a buffer overflow if an attacker were able to use system resources in a way that leads to a large number in the /proc/sysvipc/sem file. NOTE: this is unexploitable in GNU C Library environments, and possibly in all realistic environments.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
https://github.com/karelzak/util-linux/issues/1395 | issue tracking exploit third party advisory |
https://github.com/karelzak/util-linux/commit/1c9143d0c1f979c3daf10e1c37b5b1e916c22a1c | third party advisory patch |
https://security.netapp.com/advisory/ntap-20210902-0002/ | third party advisory |
https://security.gentoo.org/glsa/202401-08 | vendor advisory |
https://lists.debian.org/debian-lts-announce/2024/04/msg00005.html | mailing list |