Bug 544144 (CVE-2009-1298) - CVE-2009-1298 kernel: ip_frag_reasm() NULL pointer dereference
Summary: CVE-2009-1298 kernel: ip_frag_reasm() NULL pointer dereference
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2009-1298
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-04 01:21 UTC by Eugene Teo (Security Response)
Modified: 2010-04-08 20:45 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-08 20:45:57 UTC
Embargoed:


Attachments (Terms of Use)

Description Eugene Teo (Security Response) 2009-12-04 01:21:05 UTC
Description of problem:
ipv4: additional update of dev_net(dev) to struct *net in ip_fragment.c, NULL ptr OOPS
    
ipv4 ip_frag_reasm(), fully replace 'dev_net(dev)' with 'net', defined previously patched into 2.6.29.
    
Between 2.6.28.10 and 2.6.29, net/ipv4/ip_fragment.c was patched, changing from dev_net(dev) to container_of(...).  Unfortunately the goto section (out_fail) on oversized packets inside ip_frag_reasm() didn't get touched up as well.  Oversized IP packets cause a NULL pointer dereference and immediate hang.
    
I discovered this running openvasd and my previous email on this is titled:  NULL pointer dereference at 2.6.32-rc8:net/ipv4/ip_fragment.c:566

Upstream commit:
http://git.kernel.org/linus/bbf31bf18d34caa87dd01f08bf713635593697f2

Reference:
http://lkml.org/lkml/2009/11/25/104

Comment 3 Eugene Teo (Security Response) 2009-12-04 17:06:25 UTC
We have addressed this issue in kernel-2.6.30.9-102.fc11 and kernel-2.6.31.6-162.fc12.

Comment 4 Fedora Update System 2009-12-07 07:27:44 UTC
kernel-2.6.30.9-102.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2009-12-07 07:31:42 UTC
kernel-2.6.31.6-162.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Vincent Danen 2010-04-08 20:45:57 UTC
Fixed in Fedora via FEDORA-2009-12786 (Fedora 11) and FEDORA-2009-12825  (Fedora 12).


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