* Re: Dereferencing freed memory bugs [not found] <a63d67fe0903240529v6a0e6b51pf67f8ad6dd6842c4@mail.gmail.com> @ 2009-03-28 18:18 ` Marcin Slusarz 2009-03-28 19:12 ` Marcin Slusarz 1 sibling, 0 replies; 2+ messages in thread From: Marcin Slusarz @ 2009-03-28 18:18 UTC (permalink / raw) To: Dan Carpenter; +Cc: LKML, eteo, netdev Dan Carpenter pisze: > I added a check to smatch (http://repo.or.cz/w/smatch.git/) to check > for when we dereference > freed memory. > > (...) > net/netfilter/nfnetlink_log.c +341 __nfulnl_flush(5) 'inst' > (...) I think it's a false positive. In __nfulnl_flush we expect that caller already holds a reference to inst and it looks like all callers do it. Marcin ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Dereferencing freed memory bugs [not found] <a63d67fe0903240529v6a0e6b51pf67f8ad6dd6842c4@mail.gmail.com> 2009-03-28 18:18 ` Dereferencing freed memory bugs Marcin Slusarz @ 2009-03-28 19:12 ` Marcin Slusarz 1 sibling, 0 replies; 2+ messages in thread From: Marcin Slusarz @ 2009-03-28 19:12 UTC (permalink / raw) To: Dan Carpenter; +Cc: LKML, eteo, linux-usb, netdev, linux-media, general Dan Carpenter wrote: > I added a check to smatch (http://repo.or.cz/w/smatch.git/) to check > for when we dereference > freed memory. > > drivers/dma/dmatest.c +410 dmatest_exit(7) 'dtc' > drivers/dma/dmatest.c +412 dmatest_exit(9) 'dtc' Seems to be fixed by 7cbd4877e5b167b56a3d6033b926a9f925186e12: dmatest: fix use after free in dmatest_exit > drivers/infiniband/hw/nes/nes_cm.c +563 nes_cm_timer_tick(121) 'cm_node' > drivers/infiniband/hw/nes/nes_cm.c +621 nes_cm_timer_tick(179) 'cm_node' > (...) > drivers/usb/host/ehci-hcd.c +1661 itd_complete(79) 'stream' > drivers/usb/host/ehci-hcd.c +2036 sitd_complete(64) 'stream' > drivers/uwb/reset.c +193 __uwb_rc_cmd(26) 'cmd' > (...) > net/netfilter/xt_recent.c +273 recent_mt(69) 'e' > (...) > drivers/media/video/cpia_pp.c +777 cpia_pp_detach(28) 'cpia' > (...) These are less obvious. Adding CCs. Please leave only one of openfabrics/linux-usb/netdev/linux-media in CCs when responding. ps: [s]itd_complete is in drivers/usb/host/ehci-sched.c ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-28 19:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <a63d67fe0903240529v6a0e6b51pf67f8ad6dd6842c4@mail.gmail.com>
2009-03-28 18:18 ` Dereferencing freed memory bugs Marcin Slusarz
2009-03-28 19:12 ` Marcin Slusarz
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).