CVE-2026-99328 HID: picoLCD: check for fb_deferred_io_init() error
설명
In the Linux kernel, the following vulnerability has been resolved: HID: picoLCD: check for fb_deferred_io_init() error fb_deferred_io_init() allocates deferred I/O state, populating info->fbdefio_state, or leaving it NULL if an error occurs. Currently picolcd_init_framebuffer() ignores its return value. Therefore if an error arises in fb_deferred_io_init() (for instance, due to an allocation failure) info->fbdefio_state is left NULL. When the file is subsequently opened, fb_open() will dereference a NULL pointer (calling fb_deferred_io_open()). Fix this by checking for the error. Also correct cleanup ordering - defio is initialised after the sysfs file, so cleanup defio first.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.15.149 이상 5.15.226 미만
- 5.19
해결 버전
- 5.15.226 이상
- 5.19 미만
- 6.1.193 이상
- 6.6.163 이상
- 6.12.117 이상
- 6.18.61 이상
- 7.3.2 이상
참고 자료 7건
- git.kernel.org https://git.kernel.org/stable/c/14acfdfca5151537b623243a6c0e66a2e6fca7de (새 창)
- git.kernel.org https://git.kernel.org/stable/c/28be73031ae5397a0592fa6308051f743fb428f7 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/79914eb199e0dff8218b5e3ebb3cad91f20f052e (새 창)
- git.kernel.org https://git.kernel.org/stable/c/a4d7231da151ec42e10510a7e7ecf60a64175929 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/be019e20f8bb0afa6ffb87494527c25b59108c17 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/ebe54f9e793bf05c7bd82110fdab24f10b89eac3 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/feade898fc958ff355101adf12d5632272e64220 (새 창)