Bug 42629 - recvmsg sleeping from invalid context
recvmsg sleeping from invalid context
Status: NEW
Product: Networking
Classification: Unclassified
Component: Other
All Linux
: P1 normal
Assigned To: Arnaldo Carvalho de Melo
:
Depends on:
Blocks: 42566
  Show dependency treegraph
 
Reported: 2012-01-22 07:54 UTC by Maciej Rutecki
Modified: 2013-01-10 20:57 UTC (History)
5 users (show)

See Also:
Kernel Version: 3.2
Tree: Mainline
Regression: Yes


Attachments

Description Maciej Rutecki 2012-01-22 07:54:14 UTC
Subject    : recvmsg sleeping from invalid context
Submitter  : Dave Jones <davej@redhat.com>
Date       : 2012-01-13 18:24
Message-ID : 20120113182401.GA25885@redhat.com
References : http://marc.info/?l=linux-kernel&m=132647921304184&w=2

This entry is being used for tracking a regression from 3.1. Please don't
close it until the problem is fixed in the mainline.
Comment 1 Ben Greear 2012-03-07 23:15:51 UTC
I'm seeing this in a hacked 3.0.23 kernel.  I don't
recall seeing this on 3.0.19 or earlier, but I wasn't looking
very hard either...

BUG: sleeping function called from invalid context at /home/greearb/git/linux-3.0.dev.y/include/linux/kernel.h:174
in_atomic(): 0, irqs_disabled(): 0, pid: 3908, name: ip
Pid: 3908, comm: ip Tainted: G         C  3.0.23+ #33
Call Trace:
 [<ffffffff81038930>] __might_sleep+0xf7/0xf9
 [<ffffffff81368989>] might_fault+0x17/0x19
 [<ffffffff81369e11>] move_addr_to_user+0x21/0x8e
 [<ffffffff81369ffd>] __sys_recvmsg+0x17f/0x21e
 [<ffffffff810c31e1>] ? handle_mm_fault+0x1ac/0x1c4
 [<ffffffff8143072a>] ? do_page_fault+0x2f6/0x368
 [<ffffffff810ddd0e>] ? virt_to_head_page+0x9/0x2c
 [<ffffffff810df32d>] ? kmem_cache_free+0x15/0x6e
 [<ffffffff8136a7a1>] sys_recvmsg+0x3d/0x5b
 [<ffffffff81432652>] system_call_fastpath+0x16/0x1b

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