[SRU][Jammy][Focal][PATCH 0/1] CVE-2024-0340

Bethany Jamison bethany.jamison at canonical.com
Wed Jan 31 22:59:24 UTC 2024


[Impact]

A vulnerability was found in vhost_new_msg in drivers/vhost/vhost.c in the
Linux kernel, which does not properly initialize memory in messages passed
between virtual guests and the host operating system in the
vhost/vhost.c:vhost_new_msg() function. This issue can allow local
privileged users to read some kernel memory contents when reading from the
/dev/vhost-net device file.

[Fix]

Clean cherry-pick.

[Test Case]

Compile and boot test.

[Regression Potential]

Issues could occur in vhost when making a new message.

Prathu Baronia (1):
  vhost: use kzalloc() instead of kmalloc() followed by memset()

 drivers/vhost/vhost.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

-- 
2.34.1




More information about the kernel-team mailing list