Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 472476 (CVE-2013-2148)

Summary: Kernel : fanotify: info leak in copy_event_to_user (CVE-2013-2148)
Product: Gentoo Security Reporter: Agostino Sarubbo <ago>
Component: KernelAssignee: Gentoo Kernel Security <security-kernel>
Status: RESOLVED FIXED    
Severity: normal CC: kernel
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.redhat.com/show_bug.cgi?id=971258
Whiteboard:
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2013-06-06 07:51:08 UTC
From ${URL} :

Linux kernel built with the Filesystem wide access notification
(CONFIG_FANOTIFY) support is vulnerable to an information leakage
flaw. The leaked bytes could be accessed via read(2) call on the
fanotify descriptor.

A user/program could use this flaw to leak kernel memory bytes.

Upstream fix:
-------------
 -> https://lkml.org/lkml/2013/6/3/128
Comment 1 GLSAMaker/CVETool Bot gentoo-dev 2013-08-30 01:39:49 UTC
CVE-2013-2148 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-2148):
  The fill_event_metadata function in fs/notify/fanotify/fanotify_user.c in
  the Linux kernel through 3.9.4 does not initialize a certain structure
  member, which allows local users to obtain sensitive information from kernel
  memory via a read operation on the fanotify descriptor.
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-03-25 15:17:53 UTC
https://lkml.org/lkml/2013/6/3/128 is de1e0c40aceb9d5bff09c3a3b97b2f1b178af53f,
in 3.10.6 onwards.