<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/stable/linux.git/net/x25, branch linux-2.6.35.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<id>https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=linux-2.6.35.y</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=linux-2.6.35.y'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/'/>
<updated>2011-03-31T18:58:15+00:00</updated>
<entry>
<title>x25: Do not reference freed memory.</title>
<updated>2011-03-31T18:58:15+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2011-02-10T05:48:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4bb1e0d018b987cbbac02b631242cbecdf4c6ae0'/>
<id>urn:sha1:4bb1e0d018b987cbbac02b631242cbecdf4c6ae0</id>
<content type='text'>
commit 96642d42f076101ba98866363d908cab706d156c upstream.

In x25_link_free(), we destroy 'nb' before dereferencing
'nb-&gt;dev'.  Don't do this, because 'nb' might be freed
by then.

Reported-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Tested-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;

</content>
</entry>
<entry>
<title>x25: decrement netdev reference counts on unload</title>
<updated>2011-02-06T19:03:39+00:00</updated>
<author>
<name>Apollon Oikonomopoulos</name>
<email>apollon@noc.grnet.gr</email>
</author>
<published>2010-12-07T09:43:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0ead25e6311a5b894daf6dae9a9734a3262f8f89'/>
<id>urn:sha1:0ead25e6311a5b894daf6dae9a9734a3262f8f89</id>
<content type='text'>
[ Upstream commit 171995e5d82dcc92bea37a7d2a2ecc21068a0f19]

x25 does not decrement the network device reference counts on module unload.
Thus unregistering any pre-existing interface after unloading the x25 module
hangs and results in

 unregister_netdevice: waiting for tap0 to become free. Usage count = 1

This patch decrements the reference counts of all interfaces in x25_link_free,
the way it is already done in x25_link_device_down for NETDEV_DOWN events.

Signed-off-by: Apollon Oikonomopoulos &lt;apollon@noc.grnet.gr&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;

</content>
</entry>
<entry>
<title>x25: Prevent crashing when parsing bad X.25 facilities</title>
<updated>2010-12-14T22:40:17+00:00</updated>
<author>
<name>Dan Rosenberg</name>
<email>drosenberg@vsecurity.com</email>
</author>
<published>2010-11-12T20:44:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=47a671800b5c4bca9c5826fc18d9a2ac090a5e3c'/>
<id>urn:sha1:47a671800b5c4bca9c5826fc18d9a2ac090a5e3c</id>
<content type='text'>
commit 5ef41308f94dcbb3b7afc56cdef1c2ba53fa5d2f upstream.

Now with improved comma support.

On parsing malformed X.25 facilities, decrementing the remaining length
may cause it to underflow.  Since the length is an unsigned integer,
this will result in the loop continuing until the kernel crashes.

This patch adds checks to ensure decrementing the remaining length does
not cause it to wrap around.

Signed-off-by: Dan Rosenberg &lt;drosenberg@vsecurity.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;

</content>
</entry>
<entry>
<title>memory corruption in X.25 facilities parsing</title>
<updated>2010-12-14T22:40:17+00:00</updated>
<author>
<name>andrew hendry</name>
<email>andrew.hendry@gmail.com</email>
</author>
<published>2010-11-03T12:54:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=5cd63b34258b056b568b05582310e966aa65d2fd'/>
<id>urn:sha1:5cd63b34258b056b568b05582310e966aa65d2fd</id>
<content type='text'>
commit a6331d6f9a4298173b413cf99a40cc86a9d92c37 upstream.

Signed-of-by: Andrew Hendry &lt;andrew.hendry@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;

</content>
</entry>
<entry>
<title>X25: Remove bkl in sockopts</title>
<updated>2010-05-18T00:39:28+00:00</updated>
<author>
<name>andrew hendry</name>
<email>andrew.hendry@gmail.com</email>
</author>
<published>2010-05-16T23:00:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=935e2a26b85003c0bd52b6c92712c2f77a5f9d33'/>
<id>urn:sha1:935e2a26b85003c0bd52b6c92712c2f77a5f9d33</id>
<content type='text'>
Removes the BKL in x25 setsock and getsockopts.

Signed-off-by: Andrew Hendry &lt;andrew.hendry@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>X25: Move accept approve flag to bitfield</title>
<updated>2010-05-18T00:39:27+00:00</updated>
<author>
<name>andrew hendry</name>
<email>andrew.hendry@gmail.com</email>
</author>
<published>2010-05-16T23:00:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=37cda78741ecdbf45dd9b64e4c99dbdb11b47b46'/>
<id>urn:sha1:37cda78741ecdbf45dd9b64e4c99dbdb11b47b46</id>
<content type='text'>
Moves the x25 accept approve flag from char into bitfield.

Signed-off-by: Andrew Hendry &lt;andrew.hendry@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>X25: Move interrupt flag to bitfield</title>
<updated>2010-05-18T00:39:27+00:00</updated>
<author>
<name>andrew hendry</name>
<email>andrew.hendry@gmail.com</email>
</author>
<published>2010-05-16T23:00:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b7792e34cba641c49cd436d42fbfd2a632ff39d3'/>
<id>urn:sha1:b7792e34cba641c49cd436d42fbfd2a632ff39d3</id>
<content type='text'>
Moves the x25 interrupt flag from char into bitfield.

Signed-off-by: Andrew Hendry &lt;andrew.hendry@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>X25: Move qbit flag to bitfield</title>
<updated>2010-05-18T00:39:26+00:00</updated>
<author>
<name>andrew hendry</name>
<email>andrew.hendry@gmail.com</email>
</author>
<published>2010-05-16T22:59:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cb863ffd4a04f9f8619f52c01d472a64ccc716bd'/>
<id>urn:sha1:cb863ffd4a04f9f8619f52c01d472a64ccc716bd</id>
<content type='text'>
Moves the X25 q bit flag from char into a bitfield to allow BKL cleanup.

Signed-off-by: Andrew Hendry &lt;andrew.hendry@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6</title>
<updated>2010-04-27T19:49:13+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2010-04-27T19:49:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e1703b36c358dde24ececba4fd609ecd91433ba3'/>
<id>urn:sha1:e1703b36c358dde24ececba4fd609ecd91433ba3</id>
<content type='text'>
Conflicts:
	drivers/net/e100.c
	drivers/net/e1000e/netdev.c
</content>
</entry>
<entry>
<title>X25: Add if_x25.h and x25 to device identifiers</title>
<updated>2010-04-22T23:12:36+00:00</updated>
<author>
<name>Andrew Hendry</name>
<email>andrew.hendry@gmail.com</email>
</author>
<published>2010-04-22T23:12:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=5ebfbc06aae941484326c9e7e9c4d85330f63591'/>
<id>urn:sha1:5ebfbc06aae941484326c9e7e9c4d85330f63591</id>
<content type='text'>
V2 Feedback from John Hughes.
- Add header for userspace implementations such as xot/xoe to use
- Use explicit values for interface stability
- No changes to driver patches

V1
- Use identifiers instead of magic numbers for X25 layer 3 to device interface.
- Also fixed checkpatch notes on updated code.

[ Add new user header to include/linux/Kbuild  -DaveM ]

Signed-off-by: Andrew Hendry &lt;andrew.hendry@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
