mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kamal Mostafa <kamal@canonical.com>
To: linux-kernel@vger.kernel.org, stable@vger.kernel.org,
	kernel-team@lists.ubuntu.com
Cc: Daniel Borkmann <dborkman@redhat.com>,
	Vlad Yasevich <vyasevich@gmail.com>,
	"David S. Miller" <davem@davemloft.net>,
	Kamal Mostafa <kamal@canonical.com>
Subject: [PATCH 3.13 163/165] net: sctp: fix skb_over_panic when receiving malformed ASCONF chunks
Date: Fri,  7 Nov 2014 09:29:55 -0800	[thread overview]
Message-ID: <1415381397-21898-2-git-send-email-kamal@canonical.com> (raw)
In-Reply-To: <1415313426-9622-1-git-send-email-kamal@canonical.com>

3.13.11.11 -stable review patch.  If anyone has any objections, please let me know.

------------------

From: Daniel Borkmann <dborkman@redhat.com>

commit 9de7922bc709eee2f609cd01d98aaedc4cf5ea74 upstream.

Commit 6f4c618ddb0 ("SCTP : Add paramters validity check for
ASCONF chunk") added basic verification of ASCONF chunks, however,
it is still possible to remotely crash a server by sending a
special crafted ASCONF chunk, even up to pre 2.6.12 kernels:

skb_over_panic: text:ffffffffa01ea1c3 len:31056 put:30768
 head:ffff88011bd81800 data:ffff88011bd81800 tail:0x7950
 end:0x440 dev:<NULL>
 ------------[ cut here ]------------
kernel BUG at net/core/skbuff.c:129!
[...]
Call Trace:
 <IRQ>
 [<ffffffff8144fb1c>] skb_put+0x5c/0x70
 [<ffffffffa01ea1c3>] sctp_addto_chunk+0x63/0xd0 [sctp]
 [<ffffffffa01eadaf>] sctp_process_asconf+0x1af/0x540 [sctp]
 [<ffffffff8152d025>] ? _read_unlock_bh+0x15/0x20
 [<ffffffffa01e0038>] sctp_sf_do_asconf+0x168/0x240 [sctp]
 [<ffffffffa01e3751>] sctp_do_sm+0x71/0x1210 [sctp]
 [<ffffffff8147645d>] ? fib_rules_lookup+0xad/0xf0
 [<ffffffffa01e6b22>] ? sctp_cmp_addr_exact+0x32/0x40 [sctp]
 [<ffffffffa01e8393>] sctp_assoc_bh_rcv+0xd3/0x180 [sctp]
 [<ffffffffa01ee986>] sctp_inq_push+0x56/0x80 [sctp]
 [<ffffffffa01fcc42>] sctp_rcv+0x982/0xa10 [sctp]
 [<ffffffffa01d5123>] ? ipt_local_in_hook+0x23/0x28 [iptable_filter]
 [<ffffffff8148bdc9>] ? nf_iterate+0x69/0xb0
 [<ffffffff81496d10>] ? ip_local_deliver_finish+0x0/0x2d0
 [<ffffffff8148bf86>] ? nf_hook_slow+0x76/0x120
 [<ffffffff81496d10>] ? ip_local_deliver_finish+0x0/0x2d0
 [<ffffffff81496ded>] ip_local_deliver_finish+0xdd/0x2d0
 [<ffffffff81497078>] ip_local_deliver+0x98/0xa0
 [<ffffffff8149653d>] ip_rcv_finish+0x12d/0x440
 [<ffffffff81496ac5>] ip_rcv+0x275/0x350
 [<ffffffff8145c88b>] __netif_receive_skb+0x4ab/0x750
 [<ffffffff81460588>] netif_receive_skb+0x58/0x60

This can be triggered e.g., through a simple scripted nmap
connection scan injecting the chunk after the handshake, for
example, ...

  -------------- INIT[ASCONF; ASCONF_ACK] ------------->
  <----------- INIT-ACK[ASCONF; ASCONF_ACK] ------------
  -------------------- COOKIE-ECHO -------------------->
  <-------------------- COOKIE-ACK ---------------------
  ------------------ ASCONF; UNKNOWN ------------------>

... where ASCONF chunk of length 280 contains 2 parameters ...

  1) Add IP address parameter (param length: 16)
  2) Add/del IP address parameter (param length: 255)

... followed by an UNKNOWN chunk of e.g. 4 bytes. Here, the
Address Parameter in the ASCONF chunk is even missing, too.
This is just an example and similarly-crafted ASCONF chunks
could be used just as well.

The ASCONF chunk passes through sctp_verify_asconf() as all
parameters passed sanity checks, and after walking, we ended
up successfully at the chunk end boundary, and thus may invoke
sctp_process_asconf(). Parameter walking is done with
WORD_ROUND() to take padding into account.

In sctp_process_asconf()'s TLV processing, we may fail in
sctp_process_asconf_param() e.g., due to removal of the IP
address that is also the source address of the packet containing
the ASCONF chunk, and thus we need to add all TLVs after the
failure to our ASCONF response to remote via helper function
sctp_add_asconf_response(), which basically invokes a
sctp_addto_chunk() adding the error parameters to the given
skb.

When walking to the next parameter this time, we proceed
with ...

  length = ntohs(asconf_param->param_hdr.length);
  asconf_param = (void *)asconf_param + length;

... instead of the WORD_ROUND()'ed length, thus resulting here
in an off-by-one that leads to reading the follow-up garbage
parameter length of 12336, and thus throwing an skb_over_panic
for the reply when trying to sctp_addto_chunk() next time,
which implicitly calls the skb_put() with that length.

Fix it by using sctp_walk_params() [ which is also used in
INIT parameter processing ] macro in the verification *and*
in ASCONF processing: it will make sure we don't spill over,
that we walk parameters WORD_ROUND()'ed. Moreover, we're being
more defensive and guard against unknown parameter types and
missized addresses.

Joint work with Vlad Yasevich.

Fixes: b896b82be4ae ("[SCTP] ADDIP: Support for processing incoming ASCONF_ACK chunks.")
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: Vlad Yasevich <vyasevich@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Reference: CVE-2014-3673
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
---
 include/net/sctp/sm.h    |  6 +--
 net/sctp/sm_make_chunk.c | 99 +++++++++++++++++++++++++++---------------------
 net/sctp/sm_statefuns.c  | 18 +--------
 3 files changed, 60 insertions(+), 63 deletions(-)

diff --git a/include/net/sctp/sm.h b/include/net/sctp/sm.h
index 4ef75af..c91b6f5 100644
--- a/include/net/sctp/sm.h
+++ b/include/net/sctp/sm.h
@@ -249,9 +249,9 @@ struct sctp_chunk *sctp_make_asconf_update_ip(struct sctp_association *,
 					      int, __be16);
 struct sctp_chunk *sctp_make_asconf_set_prim(struct sctp_association *asoc,
 					     union sctp_addr *addr);
-int sctp_verify_asconf(const struct sctp_association *asoc,
-		       struct sctp_paramhdr *param_hdr, void *chunk_end,
-		       struct sctp_paramhdr **errp);
+bool sctp_verify_asconf(const struct sctp_association *asoc,
+			struct sctp_chunk *chunk, bool addr_param_needed,
+			struct sctp_paramhdr **errp);
 struct sctp_chunk *sctp_process_asconf(struct sctp_association *asoc,
 				       struct sctp_chunk *asconf);
 int sctp_process_asconf_ack(struct sctp_association *asoc,
diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c
index 1d71674..e45212e 100644
--- a/net/sctp/sm_make_chunk.c
+++ b/net/sctp/sm_make_chunk.c
@@ -3110,50 +3110,63 @@ static __be16 sctp_process_asconf_param(struct sctp_association *asoc,
 	return SCTP_ERROR_NO_ERROR;
 }
 
-/* Verify the ASCONF packet before we process it.  */
-int sctp_verify_asconf(const struct sctp_association *asoc,
-		       struct sctp_paramhdr *param_hdr, void *chunk_end,
-		       struct sctp_paramhdr **errp) {
-	sctp_addip_param_t *asconf_param;
+/* Verify the ASCONF packet before we process it. */
+bool sctp_verify_asconf(const struct sctp_association *asoc,
+			struct sctp_chunk *chunk, bool addr_param_needed,
+			struct sctp_paramhdr **errp)
+{
+	sctp_addip_chunk_t *addip = (sctp_addip_chunk_t *) chunk->chunk_hdr;
 	union sctp_params param;
-	int length, plen;
-
-	param.v = (sctp_paramhdr_t *) param_hdr;
-	while (param.v <= chunk_end - sizeof(sctp_paramhdr_t)) {
-		length = ntohs(param.p->length);
-		*errp = param.p;
+	bool addr_param_seen = false;
 
-		if (param.v > chunk_end - length ||
-		    length < sizeof(sctp_paramhdr_t))
-			return 0;
+	sctp_walk_params(param, addip, addip_hdr.params) {
+		size_t length = ntohs(param.p->length);
 
+		*errp = param.p;
 		switch (param.p->type) {
+		case SCTP_PARAM_ERR_CAUSE:
+			break;
+		case SCTP_PARAM_IPV4_ADDRESS:
+			if (length != sizeof(sctp_ipv4addr_param_t))
+				return false;
+			addr_param_seen = true;
+			break;
+		case SCTP_PARAM_IPV6_ADDRESS:
+			if (length != sizeof(sctp_ipv6addr_param_t))
+				return false;
+			addr_param_seen = true;
+			break;
 		case SCTP_PARAM_ADD_IP:
 		case SCTP_PARAM_DEL_IP:
 		case SCTP_PARAM_SET_PRIMARY:
-			asconf_param = (sctp_addip_param_t *)param.v;
-			plen = ntohs(asconf_param->param_hdr.length);
-			if (plen < sizeof(sctp_addip_param_t) +
-			    sizeof(sctp_paramhdr_t))
-				return 0;
+			/* In ASCONF chunks, these need to be first. */
+			if (addr_param_needed && !addr_param_seen)
+				return false;
+			length = ntohs(param.addip->param_hdr.length);
+			if (length < sizeof(sctp_addip_param_t) +
+				     sizeof(sctp_paramhdr_t))
+				return false;
 			break;
 		case SCTP_PARAM_SUCCESS_REPORT:
 		case SCTP_PARAM_ADAPTATION_LAYER_IND:
 			if (length != sizeof(sctp_addip_param_t))
-				return 0;
-
+				return false;
 			break;
 		default:
-			break;
+			/* This is unkown to us, reject! */
+			return false;
 		}
-
-		param.v += WORD_ROUND(length);
 	}
 
-	if (param.v != chunk_end)
-		return 0;
+	/* Remaining sanity checks. */
+	if (addr_param_needed && !addr_param_seen)
+		return false;
+	if (!addr_param_needed && addr_param_seen)
+		return false;
+	if (param.v != chunk->chunk_end)
+		return false;
 
-	return 1;
+	return true;
 }
 
 /* Process an incoming ASCONF chunk with the next expected serial no. and
@@ -3162,16 +3175,17 @@ int sctp_verify_asconf(const struct sctp_association *asoc,
 struct sctp_chunk *sctp_process_asconf(struct sctp_association *asoc,
 				       struct sctp_chunk *asconf)
 {
+	sctp_addip_chunk_t *addip = (sctp_addip_chunk_t *) asconf->chunk_hdr;
+	bool all_param_pass = true;
+	union sctp_params param;
 	sctp_addiphdr_t		*hdr;
 	union sctp_addr_param	*addr_param;
 	sctp_addip_param_t	*asconf_param;
 	struct sctp_chunk	*asconf_ack;
-
 	__be16	err_code;
 	int	length = 0;
 	int	chunk_len;
 	__u32	serial;
-	int	all_param_pass = 1;
 
 	chunk_len = ntohs(asconf->chunk_hdr->length) - sizeof(sctp_chunkhdr_t);
 	hdr = (sctp_addiphdr_t *)asconf->skb->data;
@@ -3199,9 +3213,14 @@ struct sctp_chunk *sctp_process_asconf(struct sctp_association *asoc,
 		goto done;
 
 	/* Process the TLVs contained within the ASCONF chunk. */
-	while (chunk_len > 0) {
+	sctp_walk_params(param, addip, addip_hdr.params) {
+		/* Skip preceeding address parameters. */
+		if (param.p->type == SCTP_PARAM_IPV4_ADDRESS ||
+		    param.p->type == SCTP_PARAM_IPV6_ADDRESS)
+			continue;
+
 		err_code = sctp_process_asconf_param(asoc, asconf,
-						     asconf_param);
+						     param.addip);
 		/* ADDIP 4.1 A7)
 		 * If an error response is received for a TLV parameter,
 		 * all TLVs with no response before the failed TLV are
@@ -3209,28 +3228,20 @@ struct sctp_chunk *sctp_process_asconf(struct sctp_association *asoc,
 		 * the failed response are considered unsuccessful unless
 		 * a specific success indication is present for the parameter.
 		 */
-		if (SCTP_ERROR_NO_ERROR != err_code)
-			all_param_pass = 0;
-
+		if (err_code != SCTP_ERROR_NO_ERROR)
+			all_param_pass = false;
 		if (!all_param_pass)
-			sctp_add_asconf_response(asconf_ack,
-						 asconf_param->crr_id, err_code,
-						 asconf_param);
+			sctp_add_asconf_response(asconf_ack, param.addip->crr_id,
+						 err_code, param.addip);
 
 		/* ADDIP 4.3 D11) When an endpoint receiving an ASCONF to add
 		 * an IP address sends an 'Out of Resource' in its response, it
 		 * MUST also fail any subsequent add or delete requests bundled
 		 * in the ASCONF.
 		 */
-		if (SCTP_ERROR_RSRC_LOW == err_code)
+		if (err_code == SCTP_ERROR_RSRC_LOW)
 			goto done;
-
-		/* Move to the next ASCONF param. */
-		length = ntohs(asconf_param->param_hdr.length);
-		asconf_param = (void *)asconf_param + length;
-		chunk_len -= length;
 	}
-
 done:
 	asoc->peer.addip_serial++;
 
diff --git a/net/sctp/sm_statefuns.c b/net/sctp/sm_statefuns.c
index 4b549a3..bf97a83 100644
--- a/net/sctp/sm_statefuns.c
+++ b/net/sctp/sm_statefuns.c
@@ -3592,9 +3592,7 @@ sctp_disposition_t sctp_sf_do_asconf(struct net *net,
 	struct sctp_chunk	*asconf_ack = NULL;
 	struct sctp_paramhdr	*err_param = NULL;
 	sctp_addiphdr_t		*hdr;
-	union sctp_addr_param	*addr_param;
 	__u32			serial;
-	int			length;
 
 	if (!sctp_vtag_verify(chunk, asoc)) {
 		sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG,
@@ -3619,17 +3617,8 @@ sctp_disposition_t sctp_sf_do_asconf(struct net *net,
 	hdr = (sctp_addiphdr_t *)chunk->skb->data;
 	serial = ntohl(hdr->serial);
 
-	addr_param = (union sctp_addr_param *)hdr->params;
-	length = ntohs(addr_param->p.length);
-	if (length < sizeof(sctp_paramhdr_t))
-		return sctp_sf_violation_paramlen(net, ep, asoc, type, arg,
-			   (void *)addr_param, commands);
-
 	/* Verify the ASCONF chunk before processing it. */
-	if (!sctp_verify_asconf(asoc,
-			    (sctp_paramhdr_t *)((void *)addr_param + length),
-			    (void *)chunk->chunk_end,
-			    &err_param))
+	if (!sctp_verify_asconf(asoc, chunk, true, &err_param))
 		return sctp_sf_violation_paramlen(net, ep, asoc, type, arg,
 						  (void *)err_param, commands);
 
@@ -3747,10 +3736,7 @@ sctp_disposition_t sctp_sf_do_asconf_ack(struct net *net,
 	rcvd_serial = ntohl(addip_hdr->serial);
 
 	/* Verify the ASCONF-ACK chunk before processing it. */
-	if (!sctp_verify_asconf(asoc,
-	    (sctp_paramhdr_t *)addip_hdr->params,
-	    (void *)asconf_ack->chunk_end,
-	    &err_param))
+	if (!sctp_verify_asconf(asoc, asconf_ack, false, &err_param))
 		return sctp_sf_violation_paramlen(net, ep, asoc, type, arg,
 			   (void *)err_param, commands);
 
-- 
1.9.1


  parent reply	other threads:[~2014-11-07 17:30 UTC|newest]

Thread overview: 170+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-06 22:34 [3.13.y.z extended stable] Linux 3.13.11.11 stable review Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 001/162] netlink: reset network header before passing to taps Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 002/162] rtnetlink: fix VF info size Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 003/162] myri10ge: check for DMA mapping errors Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 004/162] tcp: don't use timestamp from repaired skb-s to calculate RTT (v2) Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 005/162] sit: Fix ipip6_tunnel_lookup device matching criteria Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 006/162] tcp: fix tcp_release_cb() to dispatch via address family for mtu_reduced() Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 007/162] tcp: fix ssthresh and undo for consecutive short FRTO episodes Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 008/162] packet: handle too big packets for PACKET_V3 Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 009/162] openvswitch: fix panic with multiple vlan headers Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 010/162] vxlan: fix incorrect initializer in union vxlan_addr Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 011/162] l2tp: fix race while getting PMTU on PPP pseudo-wire Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 012/162] bonding: fix div by zero while enslaving and transmitting Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 013/162] bridge: Check if vlan filtering is enabled only once Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 014/162] bridge: Fix br_should_learn to check vlan_enabled Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 015/162] net: allow macvlans to move to net namespace Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 016/162] tg3: Work around HW/FW limitations with vlan encapsulated frames Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 017/162] tg3: Allow for recieve of full-size 8021AD frames Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 018/162] xfrm: Generate blackhole routes only from route lookup functions Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 019/162] xfrm: Generate queueing " Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 020/162] macvtap: Fix race between device delete and open Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 021/162] Revert "net/macb: add pinctrl consumer support" Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 022/162] gro: fix aggregation for skb using frag_list Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 023/162] hyperv: Fix a bug in netvsc_start_xmit() Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 024/162] ip6_gre: fix flowi6_proto value in xmit path Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 025/162] team: avoid race condition in scheduling delayed work Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 026/162] sctp: handle association restarts when the socket is closed Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 027/162] tcp: fixing TLP's FIN recovery Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 028/162] sparc64: Do not disable interrupts in nmi_cpu_busy() Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 029/162] sparc64: Fix pcr_ops initialization and usage bugs Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 030/162] sparc32: dma_alloc_coherent must honour gfp flags Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 031/162] sparc64: sun4v TLB error power off events Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 032/162] sparc64: Fix corrupted thread fault code Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 033/162] sparc64: find_node adjustment Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 034/162] sparc64: Move request_irq() from ldc_bind() to ldc_alloc() Kamal Mostafa
2014-11-06 22:34 ` [PATCH 3.13 035/162] sparc: Let memset return the address argument Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 036/162] sparc64: Fix reversed start/end in flush_tlb_kernel_range() Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 037/162] sparc64: Fix lockdep warnings on reboot on Ultra-5 Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 038/162] sparc64: Fix FPU register corruption with AES crypto offload Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 039/162] sparc64: Do not define thread fpregs save area as zero-length array Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 040/162] sparc64: Fix hibernation code refrence to PAGE_OFFSET Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 041/162] sparc64: correctly recognise M6 and M7 cpu type Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 042/162] sparc64: support M6 and M7 for building CPU distribution map Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 043/162] sparc64: cpu hardware caps support for sparc M6 and M7 Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 044/162] sparc64: T5 PMU Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 045/162] sparc64: Switch to 4-level page tables Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 046/162] sparc64: Define VA hole at run time, rather than at compile time Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 047/162] sparc64: Adjust KTSB assembler to support larger physical addresses Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 048/162] sparc64: Fix physical memory management regressions with large max_phys_bits Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 049/162] sparc64: Use kernel page tables for vmemmap Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 050/162] sparc64: Increase MAX_PHYS_ADDRESS_BITS to 53 Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 051/162] sparc64: Adjust vmalloc region size based upon available virtual address bits Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 052/162] sparc64: sparse irq Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 053/162] sparc64: Kill unnecessary tables and increase MAX_BANKS Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 054/162] sparc64: Increase size of boot string to 1024 bytes Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 055/162] sparc64: Fix register corruption in top-most kernel stack frame during boot Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 056/162] sparc64: Implement __get_user_pages_fast() Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 057/162] ext4: check EA value offset when loading Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 058/162] jbd2: free bh when descriptor block checksum fails Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 059/162] ext4: don't check quota format when there are no quota files Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 060/162] target: Fix queue full status NULL pointer for SCF_TRANSPORT_TASK_SENSE Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 061/162] vfs: fix data corruption when blocksize < pagesize for mmaped data Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 062/162] ext4: fix mmap data corruption when blocksize < pagesize Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 063/162] ext4: grab missed write_count for EXT4_IOC_SWAP_BOOT Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 064/162] qla_target: don't delete changed nacls Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 065/162] target: Fix APTPL metadata handling for dynamic MappedLUNs Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 066/162] iser-target: Disable TX completion interrupt coalescing Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 067/162] ext4: don't orphan or truncate the boot loader inode Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 068/162] ext4: add ext4_iget_normal() which is to be used for dir tree lookups Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 069/162] ext4: fix reservation overflow in ext4_da_write_begin Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 070/162] ext4: Replace open coded mdata csum feature to helper function Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 071/162] ext4: move error report out of atomic context in ext4_init_block_bitmap() Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 072/162] ARC: [nsimosci] Allow "headless" models to boot Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 073/162] ARC: Update order of registers in KGDB to match GDB 7.5 Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 074/162] ext4: check s_chksum_driver when looking for bg csum presence Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 075/162] drm/radeon: fix speaker allocation setup Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 076/162] drm/radeon: use gart memory for DMA ring tests Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 077/162] compiler: define OPTIMIZER_HIDE_VAR() macro Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 078/162] random: add and use memzero_explicit() for clearing data Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 079/162] ALSA: pcm: use the same dma mmap codepath both for arm and arm64 Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 080/162] ALSA: ALC283 codec - Avoid pop noise on headphones during suspend/resume Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 081/162] ALSA: usb-audio: Add support for Steinberg UR22 USB interface Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 082/162] ALSA: hda - hdmi: Fix missing ELD change event on plug/unplug Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 083/162] arm64: compat: fix compat types affecting struct compat_elf_prpsinfo Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 084/162] freezer: Do not freeze tasks killed by OOM killer Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 085/162] OOM, PM: OOM killed task shouldn't escape PM suspend Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 086/162] qxl: don't create too large primary surface Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 087/162] MIPS: tlbex: Properly fix HUGE TLB Refill exception handler Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 088/162] drm/cirrus: bind also to qemu-xen-traditional Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 089/162] cpufreq: intel_pstate: Fix setting max_perf_pct in performance policy Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 090/162] cpufreq: expose scaling_cur_freq sysfs file for set_policy() drivers Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 091/162] cpufreq: intel_pstate: Reflect current no_turbo state correctly Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 092/162] intel_pstate: Don't lose sysfs settings during cpu offline Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 093/162] intel_pstate: Fix BYT frequency reporting Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 094/162] intel_pstate: Correct BYT VID values Kamal Mostafa
2014-11-06 22:35 ` [PATCH 3.13 095/162] MIPS: ftrace: Fix a microMIPS build problem Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 096/162] KVM: x86: Check non-canonical addresses upon WRMSR Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 097/162] KVM: x86: Prevent host from panicking on shared MSR writes Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 098/162] KVM: x86: Improve thread safety in pit Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 099/162] KVM: x86: Fix wrong masking on relative jump/call Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 100/162] KVM: x86: Emulator fixes for eip canonical checks on near branches Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 101/162] kvm: vmx: handle invvpid vm exit gracefully Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 102/162] kvm: x86: don't kill guest on unknown exit reason Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 103/162] kvm: fix excessive pages un-pinning in kvm_iommu_map error path Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 104/162] KVM: x86: use new CS.RPL as CPL during task switch Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 105/162] KVM: x86: Handle errors when RIP is set during far jumps Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 106/162] KVM: x86: Fix far-jump to non-canonical check Kamal Mostafa
2014-12-29 23:58   ` Vinson Lee
2014-12-30 22:27     ` Nadav Amit
2015-01-13 18:38       ` Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 107/162] staging:iio:ad5933: Fix NULL pointer deref when enabling buffer Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 108/162] staging:iio:ad5933: Drop "raw" from channel names Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 109/162] iio: st_sensors: Fix buffer copy Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 110/162] iio: mxs-lradc: Propagate the real error code on platform_get_irq() failure Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 111/162] iio: adc: mxs-lradc: Disable the clock on probe failure Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 112/162] spi: pl022: Fix incorrect dma_unmap_sg Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 113/162] mac80211: fix typo in starting baserate for rts_cts_rate_idx Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 114/162] usb: dwc3: gadget: fix set_halt() bug with pending transfers Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 115/162] usb: gadget: function: acm: make f_acm pass USB20CV Chapter9 Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 116/162] ext3: Don't check quota format when there are no quota files Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 117/162] quota: Properly return errors from dquot_writeback_dquots() Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 118/162] USB: serial: cp210x: add Silicon Labs 358x VID and PID Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 119/162] usb: serial: ftdi_sio: add Awinda Station and Dongle products Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 120/162] usb: option: add support for Telit LE910 Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 121/162] USB: option: add Haier CE81B CDMA modem Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 122/162] x86, apic: Handle a bad TSC more gracefully Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 123/162] i3200_edac: Report CE events properly Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 124/162] i82860_edac: " Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 125/162] cpc925_edac: Report UE " Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 126/162] e7xxx_edac: Report CE " Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 127/162] scsi: Fix error handling in SCSI_IOCTL_SEND_COMMAND Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 128/162] usb: serial: ftdi_sio: add "bricked" FTDI device PID Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 129/162] usb: musb: cppi41: restart hrtimer only if not yet done Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 130/162] usb: gadget: udc: core: fix kernel oops with soft-connect Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 131/162] nfsd4: fix crash on unknown operation number Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 132/162] iwlwifi: configure the LTR Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 133/162] mac80211: add vif to flush call Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 134/162] iwlwifi: dvm: drop non VO frames when flushing Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 135/162] Revert "iwlwifi: mvm: treat EAPOLs like mgmt frames wrt rate" Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 136/162] usb: dwc3: gadget: Properly initialize LINK TRB Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 137/162] Input: i8042 - quirks for Fujitsu Lifebook A544 and Lifebook AH544 Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 138/162] posix-timers: Fix stack info leak in timer_create() Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 139/162] futex: Fix a race condition between REQUEUE_PI and task death Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 140/162] PM / Sleep: fix recovery during resuming from hibernation Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 141/162] ALSA: pcm: Zero-clear reserved fields of PCM status ioctl in compat mode Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 142/162] ima: check xattr value length and type in the ima_inode_setxattr() Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 143/162] evm: check xattr value length and type in evm_inode_setxattr() Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 144/162] drm/radeon/dpm: disable ulv support on SI Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 145/162] drm/radeon: dpm fixes for asrock systems Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 146/162] drm/radeon: remove invalid pci id Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 147/162] x86, pageattr: Prevent overflow in slow_virt_to_phys() for X86_PAE Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 148/162] cgroup/kmemleak: add kmemleak_free() for cgroup deallocations Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 149/162] mm: free compound page with correct order Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 150/162] mm, thp: fix collapsing of hugepages on madvise Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 151/162] lib/bitmap.c: fix undefined shift in __bitmap_shift_{left|right}() Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 152/162] ext4: fix overflow when updating superblock backups after resize Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 153/162] ext4: fix oops when loading block bitmap failed Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 154/162] ext4: enable journal checksum when metadata checksum feature enabled Kamal Mostafa
2014-11-06 22:36 ` [PATCH 3.13 155/162] ext4: bail out from make_indexed_dir() on first error Kamal Mostafa
2014-11-06 22:37 ` [PATCH 3.13 156/162] PCI: Rename sysfs 'enabled' file back to 'enable' Kamal Mostafa
2014-11-06 22:37 ` [PATCH 3.13 157/162] wireless: rt2x00: add new rt2800usb device Kamal Mostafa
2014-11-06 22:37 ` [PATCH 3.13 158/162] fs: allow open(dir, O_TMPFILE|..., 0) with mode 0 Kamal Mostafa
2014-11-06 22:37 ` [PATCH 3.13 159/162] tracing/syscalls: Ignore numbers outside NR_syscalls' range Kamal Mostafa
2014-11-06 22:37 ` [PATCH 3.13 160/162] x86_64, entry: Fix out of bounds read on sysenter Kamal Mostafa
2014-11-06 22:37 ` [PATCH 3.13 161/162] ACPI / EC: Add support to disallow QR_EC to be issued when SCI_EVT isn't set Kamal Mostafa
2014-11-06 22:37 ` [PATCH 3.13 162/162] ACPI / EC: Fix regression due to conflicting firmware behavior between Samsung and Acer Kamal Mostafa
2014-11-07 17:29 ` [PATCH 3.13 115/165 corrected] usb: gadget: function: acm: make f_acm pass USB20CV Chapter9 Kamal Mostafa
2014-11-07 17:29 ` Kamal Mostafa [this message]
2014-11-07 17:29 ` [PATCH 3.13 164/165] net: sctp: fix panic on duplicate ASCONF chunks Kamal Mostafa
2014-11-07 17:29 ` [PATCH 3.13 165/165] net: sctp: fix remote memory pressure from excessive queueing Kamal Mostafa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1415381397-21898-2-git-send-email-kamal@canonical.com \
    --to=kamal@canonical.com \
    --cc=davem@davemloft.net \
    --cc=dborkman@redhat.com \
    --cc=kernel-team@lists.ubuntu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=vyasevich@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®