В ядре Linux устранена следующая уязвимость:
char: applicom: исправлено разыменование NULL-указателя в ac_ioctl
Обнаружено Atuin — автоматизированной системой обнаружения уязвимостей. В ac_ioctl проверка IndexCard и проверка допустимости
Указатель RamIO пропускается, если cmd равен 6. Однако функция
безоговорочно выполняет readb(apbs[IndexCard].RamIO + VERS) в
конец.
Если cmd равен 6, IndexCard может ссылаться на несуществующую плату.
(где RamIO равен NULL), что приводит к разыменованию NULL-указателя. Исправьте это, пропустив доступ для чтения, когда cmd равен 6, так как это
Команда представляет собой глобальный информационный запрос и не нацелена на конкретный
контекст доски.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: char: applicom: fix NULL pointer dereference in ac_ioctl Discovered by Atuin - Automated Vulnerability Discovery Engine. In ac_ioctl, the validation of IndexCard and the check for a valid RamIO pointer are skipped when cmd is 6. However, the function unconditionally executes readb(apbs[IndexCard].RamIO + VERS) at the end. If cmd is 6, IndexCard may reference a board that does not exist (where RamIO is NULL), leading to a NULL pointer dereference. Fix this by skipping the readb access when cmd is 6, as this command is a global information query and does not target a specific board context.