mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: CVE-2021-46934: i2c: validate user data in compat ioctl
       [not found] <2024022750-CVE-2021-46934-79c8@gregkh>
@ 2024-02-27 13:33 ` Carlos López
  2024-02-27 14:06   ` Greg Kroah-Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: Carlos López @ 2024-02-27 13:33 UTC (permalink / raw)
  To: cve, linux-kernel; +Cc: Greg Kroah-Hartman

Hi,

On 27/2/24 10:48, Greg Kroah-Hartman wrote:
> Description
> ===========
> 
> In the Linux kernel, the following vulnerability has been resolved:
> 
> i2c: validate user data in compat ioctl
> 
> Wrong user data may cause warning in i2c_transfer(), ex: zero msgs.
> Userspace should not be able to trigger warnings, so this patch adds
> validation checks for user data in compact ioctl to prevent reported
> warnings

What's the security impact here exactly?

-- 
Carlos López
Security Engineer
SUSE Software Solutions

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: CVE-2021-46934: i2c: validate user data in compat ioctl
  2024-02-27 13:33 ` CVE-2021-46934: i2c: validate user data in compat ioctl Carlos López
@ 2024-02-27 14:06   ` Greg Kroah-Hartman
  0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2024-02-27 14:06 UTC (permalink / raw)
  To: Carlos López; +Cc: cve, linux-kernel

On Tue, Feb 27, 2024 at 02:33:50PM +0100, Carlos López wrote:
> Hi,
> 
> On 27/2/24 10:48, Greg Kroah-Hartman wrote:
> > Description
> > ===========
> > 
> > In the Linux kernel, the following vulnerability has been resolved:
> > 
> > i2c: validate user data in compat ioctl
> > 
> > Wrong user data may cause warning in i2c_transfer(), ex: zero msgs.
> > Userspace should not be able to trigger warnings, so this patch adds
> > validation checks for user data in compact ioctl to prevent reported
> > warnings
> 
> What's the security impact here exactly?

Userspace should never be able to trigger kernel warnings.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-27 14:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <2024022750-CVE-2021-46934-79c8@gregkh>
2024-02-27 13:33 ` CVE-2021-46934: i2c: validate user data in compat ioctl Carlos López
2024-02-27 14:06   ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome