Bug 10158 - netbios related samba process consume 100% CPU
Summary: netbios related samba process consume 100% CPU
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: Other (show other bugs)
Version: 4.0.8
Hardware: All All
: P5 major (vote)
Target Milestone: ---
Assignee: Karolin Seeger
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-19 18:30 UTC by Matthieu Patou
Modified: 2013-09-23 07:26 UTC (History)
1 user (show)

See Also:


Attachments
Proposed patch (1.11 KB, patch)
2013-09-19 18:31 UTC, Matthieu Patou
vl: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthieu Patou 2013-09-19 18:30:45 UTC
When sending a 0 bytes UDP packet to nbt task in Samba AD, the process will loop infinitely causing a huge consumption of CPU.
The nbt service is not denied, it's still processing events.
Comment 1 Matthieu Patou 2013-09-19 18:31:20 UTC
Created attachment 9231 [details]
Proposed patch
Comment 2 Matthieu Patou 2013-09-19 18:32:25 UTC
The attached patch was tested successfully on a build from master branch.
Comment 3 Jeremy Allison 2013-09-20 01:43:50 UTC
Re-assigning to Karolin for inclusion in 4.1.0 and 4.0.next.

Jeremy.
Comment 4 Karolin Seeger 2013-09-20 07:11:31 UTC
Pushed to autobuild-v4-1-test and autobuild-v4-0-test.
Comment 5 Karolin Seeger 2013-09-23 07:26:18 UTC
Pushed to v4-1-test and v4-0-test.
Closing out bug report.

Thanks!