Project

General

Profile

Actions

Feature #3339

closed

alloc_netdev() must be paired with free_netdev()

Added by Ilya Shchepetkov over 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Start date:
08/10/2012
Due date:
% Done:

0%

Estimated time:
Published in build:

Description

Freeing netdev without free_netdev() leads to net, tx leaks.
It might lead to dereferencing freed pointer.

Example of bug:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=b37e0c619dc231f292ed199f50c18f5bf508e16d


Related issues 1 (1 open0 closed)

Related to Linux Kernel Safety RuleDB - Feature #3338: 140: register_netdev() must be paired with unregister_netdev(). alloc_netdev() must be paired with free_netdev().OpenVadim Mutilin08/10/2012

Actions
Actions #1

Updated by Ilya Shchepetkov about 12 years ago

  • Subject changed from 141: alloc_netdev() must be paired with free_netdev() to 140: alloc_netdev() must be paired with free_netdev()

Merged with the 140_1a model.

Actions #2

Updated by Ilya Shchepetkov over 11 years ago

  • Subject changed from 140: alloc_netdev() must be paired with free_netdev() to alloc_netdev() must be paired with free_netdev()
  • Status changed from New to Closed
Actions

Also available in: Atom PDF