Bug 916075 (CVE-2013-1772) - CVE-2013-1772 kernel: call_console_drivers() function log prefix stripping DoS
Summary: CVE-2013-1772 kernel: call_console_drivers() function log prefix stripping DoS
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2013-1772
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 916079
Blocks: 916097
TreeView+ depends on / blocked
 
Reported: 2013-02-27 08:40 UTC by Petr Matousek
Modified: 2021-10-19 22:00 UTC (History)
19 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-19 22:00:44 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0566 0 normal SHIPPED_LIVE Important: kernel-rt security and bug fix update 2013-03-07 00:24:01 UTC

Description Petr Matousek 2013-02-27 08:40:38 UTC
Description of the problem:
A buffer overrun flaw was found in kernels from 3.0 to 3.4 when calling
log_prefix() function from call_console_drivers().
    
In log_prefix(), the access to "p[1]", "p[2]" or
"simple_strtoul(&p[1], &endp, 10)" may cause a buffer overflow as this
function is called from call_console_drivers by passing "&LOG_BUF(cur_index)"
where the index must be masked to do not exceed the buffer's boundary.

A local user able to write to /dev/kmsg could use this flaw to crash the
system.

Note: /dev/kmsg is root writable only (at least on RHEL/Fedora), but it
still might cause issues in restricted root environments.

References:
https://bugs.gentoo.org/458780
https://secunia.com/advisories/52366/

Comment 1 Petr Matousek 2013-02-27 08:44:43 UTC
Statement:

This issue did not affect the versions of kernel package as shipped with Red Hat Enterprise Linux 5 and 6. Future kernel updates for Red Hat Enterprise MRG 2 may address this flaw.

Comment 3 errata-xmlrpc 2013-03-06 19:26:03 UTC
This issue has been addressed in following products:

  MRG for RHEL-6 v.2

Via RHSA-2013:0566 https://rhn.redhat.com/errata/RHSA-2013-0566.html


Note You need to log in before you can comment on or make changes to this bug.