Hi,
I simplified the C reproducer as follows:
#include
#include
#include
#include
#include
#include
#include
#include
struct param {
uint8_t type;
struct tiocl_selection ts;
};
int main()
{
write(1, "executing program\n", sizeof("executing program\n") - 1);
On 9/16/24 03:10, Qianqiang Liu wrote:
syzbot has found a NULL pointer dereference bug in fbcon [1].
This issue is caused by ops->putcs being a NULL pointer.
We need to check the pointer before using it.
[1] https://syzkaller.appspot.com/bug?extid=3d613ae53c031502687a
Cc: sta...@vger.kernel.or